1 --- eventum-3.9.4/src/Config/Paths.php~ 2020-08-10 16:32:37.000000000 +0300
2 +++ eventum-3.9.4/src/Config/Paths.php 2020-08-24 14:18:12.547339038 +0300
4 public const APP_PUBLIC_PATH = APP_PATH . '/htdocs';
5 public const APP_INC_PATH = APP_PATH . '/lib/eventum';
7 - // "/var" path for writable data
8 - private const APP_VAR_PATH = APP_PATH . '/var';
9 - public const APP_CACHE_PATH = self::APP_VAR_PATH . '/cache';
10 + public const APP_CACHE_PATH = '/var/cache/eventum';
13 public const APP_TPL_PATH = APP_PATH . '/templates';
14 public const APP_TPL_COMPILE_PATH = self::APP_CACHE_PATH . '/smarty';
15 - public const APP_LOG_PATH = self::APP_VAR_PATH . '/log';
16 + public const APP_LOG_PATH = '/var/log/eventum';
18 public const APP_ERROR_LOG = self::APP_LOG_PATH . '/errors.log';
19 - public const APP_LOCKS_PATH = self::APP_VAR_PATH . '/lock';
20 + public const APP_LOCKS_PATH = '/var/run/eventum';
22 // fonts directory for phplot
23 - public const APP_FONTS_PATH = APP_PATH . '/vendor/fonts/liberation';
24 + public const APP_FONTS_PATH = '/usr/share/fonts/TTF';
26 --- eventum-3.5.6-98-g5b87d2b0/src/Setup/Requirements.php~ 2019-01-23 01:50:42.000000000 +0200
27 +++ eventum-3.5.6-98-g5b87d2b0/src/Setup/Requirements.php 2019-01-24 22:18:56.047816296 +0200
29 $configPath = Setup::getConfigPath();
30 $setupFile = Setup::getSetupFile();
32 - $error = $this->checkPermissions($configPath, "Directory '" . $configPath . "'", true);
33 - if (!empty($error)) {
36 $error = $this->checkPermissions($setupFile, "File '" . $setupFile . "'");
39 --- eventum-3.9.0/src/Console/Command/MonitorCommand.php~ 2019-10-21 22:17:43.000000000 +0300
40 +++ eventum-3.9.0/src/Console/Command/MonitorCommand.php 2020-07-02 00:40:16.042698823 +0300
43 $configPath . '/setup.php' => [
44 'check_owner' => true,
45 - 'owner' => 'apache',
47 'check_group' => true,
48 - 'group' => 'apache',
50 'check_permission' => true,
52 'check_filesize' => true,
53 --- eventum-3.1.5/config/sphinx.conf.php~ 2016-11-13 12:05:37.000000000 +0200
54 +++ eventum-3.1.5/config/sphinx.conf.php 2016-11-23 03:10:05.855040510 +0200
59 -require_once __DIR__ . '/../init.php';
60 +require_once '/usr/share/eventum/init.php';
62 if (!defined('SPHINX_LOG_PATH')) {
63 define('SPHINX_LOG_PATH', '/var/log/sphinx/');
64 --- eventum-3.7.4-440-gcc5ad3db5/src/Attachment/StorageManager.php~ 2019-08-11 22:49:07.000000000 +0300
65 +++ eventum-3.7.4-440-gcc5ad3db5/src/Attachment/StorageManager.php 2019-08-21 23:33:19.325911295 +0300
70 - private const STORAGE_PATH = Paths::APP_PATH . '/var/storage/';
71 + private const STORAGE_PATH = '/var/lib/eventum/storage/';