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
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');
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
20 $configPath = Setup::getConfigPath();
21 $setupFile = Setup::getSetupFile();
23 - $error = $this->checkPermissions($configPath, "Directory '" . $configPath . "'", true);
24 - if (!empty($error)) {
27 $error = $this->checkPermissions($setupFile, "File '" . $setupFile . "'");
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
34 $configPath . '/config.php' => [
35 'check_owner' => true,
36 - 'owner' => 'apache',
38 'check_group' => true,
39 - 'group' => 'apache',
41 'check_permission' => true,
44 $configPath . '/setup.php' => [
45 'check_owner' => true,
46 - 'owner' => 'apache',
48 'check_group' => true,
49 - 'group' => 'apache',
51 'check_permission' => true,
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
60 -require_once __DIR__ . '/../init.php';
61 +require_once '/usr/share/eventum/init.php';
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
71 - const STORAGE_PATH = APP_PATH . '/var/storage/';
72 + const STORAGE_PATH = '/var/lib/eventum/storage/';