]> git.pld-linux.org Git - packages/eventum.git/blob - eventum-paths.patch
up to 3.7.0
[packages/eventum.git] / eventum-paths.patch
1 --- eventum-3.6.7-73-ga12094613/globals.php     2019-05-17 00:29:37.284776088 +0300
2 +++ eventum-3.6.7-73-ga12094613/globals.php     2019-05-17 00:30:55.133655597 +0300
3 @@ -22,10 +22,8 @@
4 -// /var path for writable data
5 -define('APP_VAR_PATH', APP_PATH . '/var');
6 -define('APP_CACHE_PATH', APP_VAR_PATH . '/cache');
7 +define('APP_CACHE_PATH', '/var/cache/eventum');
8  
9  // define other paths
10  define('APP_TPL_PATH', APP_PATH . '/templates');
11  define('APP_TPL_COMPILE_PATH', APP_CACHE_PATH . '/smarty');
12 -define('APP_LOG_PATH', APP_VAR_PATH . '/log');
13 +define('APP_LOG_PATH', '/var/log/eventum');
14  define('APP_ERROR_LOG', APP_LOG_PATH . '/errors.log');
15 -define('APP_LOCKS_PATH', APP_VAR_PATH . '/lock');
16 +define('APP_LOCKS_PATH', '/var/run/eventum');
17 --- eventum-3.5.6-98-g5b87d2b0/src/Setup/Requirements.php~      2019-01-23 01:50:42.000000000 +0200
18 +++ eventum-3.5.6-98-g5b87d2b0/src/Setup/Requirements.php       2019-01-24 22:18:56.047816296 +0200
19 @@ -64,10 +64,6 @@
20          $configPath = Setup::getConfigPath();
21          $setupFile = Setup::getSetupFile();
22  
23 -        $error = $this->checkPermissions($configPath, "Directory '" . $configPath . "'", true);
24 -        if (!empty($error)) {
25 -            $errors[] = $error;
26 -        }
27          $error = $this->checkPermissions($setupFile, "File '" . $setupFile . "'");
28          if (!empty($error)) {
29              $errors[] = $error;
30 --- eventum-3.5.0/src/Console/Command/MonitorCommand.php~       2018-05-20 17:33:34.000000000 +0300
31 +++ eventum-3.5.0/src/Console/Command/MonitorCommand.php        2018-05-21 01:42:21.463354763 +0300
32 @@ -47,17 +47,17 @@
33          $required_files = [
34              $configPath . '/config.php' => [
35                  'check_owner' => true,
36 -                'owner' => 'apache',
37 +                'owner' => 'root',
38                  'check_group' => true,
39 -                'group' => 'apache',
40 +                'group' => 'http',
41                  'check_permission' => true,
42                  'permission' => 640,
43              ],
44              $configPath . '/setup.php' => [
45                  'check_owner' => true,
46 -                'owner' => 'apache',
47 +                'owner' => 'root',
48                  'check_group' => true,
49 -                'group' => 'apache',
50 +                'group' => 'http',
51                  'check_permission' => true,
52                  'permission' => 660,
53                  'check_filesize' => true,
54 --- eventum-3.1.5/config/sphinx.conf.php~       2016-11-13 12:05:37.000000000 +0200
55 +++ eventum-3.1.5/config/sphinx.conf.php        2016-11-23 03:10:05.855040510 +0200
56 @@ -1,7 +1,7 @@
57  #!/usr/bin/php
58  <?php
59  
60 -require_once __DIR__ . '/../init.php';
61 +require_once '/usr/share/eventum/init.php';
62  
63  if (!defined('SPHINX_LOG_PATH')) {
64      define('SPHINX_LOG_PATH', '/var/log/sphinx/');
65 --- eventum-3.3.1/src/Attachment/StorageManager.php~    2017-10-08 15:53:56.000000000 +0300
66 +++ eventum-3.3.1/src/Attachment/StorageManager.php     2017-10-09 23:22:00.162142738 +0300
67 @@ -32,7 +32,7 @@
68       *
69       * @var string
70       */
71 -    const STORAGE_PATH = APP_PATH . '/var/storage/';
72 +    const STORAGE_PATH = '/var/lib/eventum/storage/';
73  
74      /**
75       * @var MountManager
This page took 0.077786 seconds and 3 git commands to generate.