]> git.pld-linux.org Git - packages/eventum.git/blame - eventum-paths.patch
Drop O/P: eventum(router)
[packages/eventum.git] / eventum-paths.patch
CommitLineData
64359d1c
ER
1--- eventum-3.9.7/src/Config/Paths.php~ 2020-10-01 16:09:15.000000000 +0300
2+++ eventum-3.9.7/src/Config/Paths.php 2020-11-14 01:54:53.491837117 +0200
3@@ -22,20 +22,16 @@
7d2cac86
ER
4 public const APP_PUBLIC_PATH = APP_PATH . '/htdocs';
5 public const APP_INC_PATH = APP_PATH . '/lib/eventum';
6
7- // "/var" path for writable data
8- private const APP_VAR_PATH = APP_PATH . '/var';
64359d1c 9- public const APP_SPOOL_PATH = self::APP_VAR_PATH . '/spool';
4e8519f7 10- public const APP_CACHE_PATH = self::APP_VAR_PATH . '/cache';
64359d1c 11+ public const APP_SPOOL_PATH = '/var/spool/eventum';
4e8519f7 12+ public const APP_CACHE_PATH = '/var/cache/eventum';
1beb4932 13
4e8519f7
ER
14 // define other paths
15 public const APP_TPL_PATH = APP_PATH . '/templates';
16 public const APP_TPL_COMPILE_PATH = self::APP_CACHE_PATH . '/smarty';
17- public const APP_LOG_PATH = self::APP_VAR_PATH . '/log';
64359d1c
ER
18- /** @deprecated */
19- public const APP_ERROR_LOG = self::APP_LOG_PATH . '/errors.log';
4e8519f7 20- public const APP_LOCKS_PATH = self::APP_VAR_PATH . '/lock';
64359d1c 21+ public const APP_LOG_PATH = '/var/log/eventum';
4e8519f7
ER
22+ public const APP_LOCKS_PATH = '/var/run/eventum';
23
24 // fonts directory for phplot
25- public const APP_FONTS_PATH = APP_PATH . '/vendor/fonts/liberation';
26+ public const APP_FONTS_PATH = '/usr/share/fonts/TTF';
56ec18ac 27 public const APP_HELP_PATH = APP_PATH . '/docs/help';
4e8519f7 28 }
4a203501
ER
29--- eventum-3.5.6-98-g5b87d2b0/src/Setup/Requirements.php~ 2019-01-23 01:50:42.000000000 +0200
30+++ eventum-3.5.6-98-g5b87d2b0/src/Setup/Requirements.php 2019-01-24 22:18:56.047816296 +0200
31@@ -64,10 +64,6 @@
290540fe
ER
32 $configPath = Setup::getConfigPath();
33 $setupFile = Setup::getSetupFile();
abac5638 34
290540fe 35- $error = $this->checkPermissions($configPath, "Directory '" . $configPath . "'", true);
1beb4932
ER
36- if (!empty($error)) {
37- $errors[] = $error;
38- }
290540fe 39 $error = $this->checkPermissions($setupFile, "File '" . $setupFile . "'");
1beb4932
ER
40 if (!empty($error)) {
41 $errors[] = $error;
9913db86
ER
42--- eventum-3.9.0/src/Console/Command/MonitorCommand.php~ 2019-10-21 22:17:43.000000000 +0300
43+++ eventum-3.9.0/src/Console/Command/MonitorCommand.php 2020-07-02 00:40:16.042698823 +0300
44@@ -68,9 +68,9 @@
290540fe 45 $required_files = [
290540fe 46 $configPath . '/setup.php' => [
549721ab
ER
47 'check_owner' => true,
48- 'owner' => 'apache',
9913db86 49+ 'owner' => 'http',
549721ab
ER
50 'check_group' => true,
51- 'group' => 'apache',
52+ 'group' => 'http',
53 'check_permission' => true,
54 'permission' => 660,
55 'check_filesize' => true,
cb60690e
ER
56--- eventum-3.1.5/config/sphinx.conf.php~ 2016-11-13 12:05:37.000000000 +0200
57+++ eventum-3.1.5/config/sphinx.conf.php 2016-11-23 03:10:05.855040510 +0200
9d207070
ER
58@@ -1,7 +1,7 @@
59 #!/usr/bin/php
60 <?php
61
cb60690e 62-require_once __DIR__ . '/../init.php';
858c6f2a
ER
63+require_once '/usr/share/eventum/init.php';
64
65 if (!defined('SPHINX_LOG_PATH')) {
66 define('SPHINX_LOG_PATH', '/var/log/sphinx/');
4e8519f7
ER
67--- eventum-3.7.4-440-gcc5ad3db5/src/Attachment/StorageManager.php~ 2019-08-11 22:49:07.000000000 +0300
68+++ eventum-3.7.4-440-gcc5ad3db5/src/Attachment/StorageManager.php 2019-08-21 23:33:19.325911295 +0300
69@@ -33,7 +33,7 @@
9dd475ab
ER
70 *
71 * @var string
72 */
4e8519f7
ER
73- private const STORAGE_PATH = Paths::APP_PATH . '/var/storage/';
74+ private const STORAGE_PATH = '/var/lib/eventum/storage/';
ac6bab4c 75
9dd475ab
ER
76 /**
77 * @var MountManager
This page took 0.046007 seconds and 4 git commands to generate.