--- eventum-3.7.4-440-gcc5ad3db5/src/Config/Paths.php 2019-08-21 23:32:40.826463576 +0300 +++ eventum-3.7.4-440-gcc5ad3db5/src/Config/Paths.php 2019-08-21 23:38:04.548486455 +0300 @@ -24,14 +24,13 @@ // "/var" path for writable data - public const APP_VAR_PATH = APP_PATH . '/var'; - public const APP_CACHE_PATH = self::APP_VAR_PATH . '/cache'; + public const APP_CACHE_PATH = '/var/cache/eventum'; // define other paths public const APP_TPL_PATH = APP_PATH . '/templates'; public const APP_TPL_COMPILE_PATH = self::APP_CACHE_PATH . '/smarty'; - public const APP_LOG_PATH = self::APP_VAR_PATH . '/log'; + public const APP_LOG_PATH = '/var/log/eventum'; public const APP_ERROR_LOG = self::APP_LOG_PATH . '/errors.log'; - public const APP_LOCKS_PATH = self::APP_VAR_PATH . '/lock'; + public const APP_LOCKS_PATH = '/var/run/eventum'; // fonts directory for phplot - public const APP_FONTS_PATH = APP_PATH . '/vendor/fonts/liberation'; + public const APP_FONTS_PATH = '/usr/share/fonts/TTF'; } --- eventum-3.5.6-98-g5b87d2b0/src/Setup/Requirements.php~ 2019-01-23 01:50:42.000000000 +0200 +++ eventum-3.5.6-98-g5b87d2b0/src/Setup/Requirements.php 2019-01-24 22:18:56.047816296 +0200 @@ -64,10 +64,6 @@ $configPath = Setup::getConfigPath(); $setupFile = Setup::getSetupFile(); - $error = $this->checkPermissions($configPath, "Directory '" . $configPath . "'", true); - if (!empty($error)) { - $errors[] = $error; - } $error = $this->checkPermissions($setupFile, "File '" . $setupFile . "'"); if (!empty($error)) { $errors[] = $error; --- eventum-3.5.0/src/Console/Command/MonitorCommand.php~ 2018-05-20 17:33:34.000000000 +0300 +++ eventum-3.5.0/src/Console/Command/MonitorCommand.php 2018-05-21 01:42:21.463354763 +0300 @@ -47,17 +47,17 @@ $required_files = [ $configPath . '/config.php' => [ 'check_owner' => true, - 'owner' => 'apache', + 'owner' => 'root', 'check_group' => true, - 'group' => 'apache', + 'group' => 'http', 'check_permission' => true, 'permission' => 640, ], $configPath . '/setup.php' => [ 'check_owner' => true, - 'owner' => 'apache', + 'owner' => 'root', 'check_group' => true, - 'group' => 'apache', + 'group' => 'http', 'check_permission' => true, 'permission' => 660, 'check_filesize' => true, --- eventum-3.1.5/config/sphinx.conf.php~ 2016-11-13 12:05:37.000000000 +0200 +++ eventum-3.1.5/config/sphinx.conf.php 2016-11-23 03:10:05.855040510 +0200 @@ -1,7 +1,7 @@ #!/usr/bin/php