1 --- eventum-3.0.3-287-ge48a790/init.php~ 2015-10-26 21:42:14.000000000 +0200
2 +++ eventum-3.0.3-287-ge48a790/init.php 2015-10-26 21:46:47.983157509 +0200
4 $define('APP_SETUP_FILE', APP_CONFIG_PATH . '/setup.php');
5 $define('APP_INC_PATH', APP_PATH . '/lib/eventum');
6 $define('APP_TPL_PATH', APP_PATH . '/templates');
7 -$define('APP_TPL_COMPILE_PATH', APP_VAR_PATH . '/cache');
8 -$define('APP_LOCKS_PATH', APP_VAR_PATH . '/lock');
9 -$define('APP_LOG_PATH', APP_VAR_PATH . '/log');
10 +$define('APP_TPL_COMPILE_PATH', '/var/cache/eventum');
11 +$define('APP_LOCKS_PATH', '/var/run/eventum');
12 +$define('APP_LOG_PATH', '/var/log/eventum');
13 $define('APP_ERROR_LOG', APP_LOG_PATH . '/errors.log');
14 $define('APP_CLI_LOG', APP_LOG_PATH . '/cli.log');
15 $define('APP_IRC_LOG', APP_LOG_PATH . '/irc_bot.log');
16 --- eventum-3.0.3-287-ge48a790/htdocs/setup/index.php~ 2015-10-26 21:45:35.367554219 +0200
17 +++ eventum-3.0.3-287-ge48a790/htdocs/setup/index.php 2015-10-26 21:47:31.775849576 +0200
19 define('APP_CONFIG_PATH', APP_PATH . '/config');
20 define('APP_SETUP_FILE', APP_CONFIG_PATH . '/setup.php');
21 define('APP_TPL_PATH', APP_PATH . '/templates');
22 -define('APP_TPL_COMPILE_PATH', APP_VAR_PATH . '/cache');
23 -define('APP_LOG_PATH', APP_VAR_PATH . '/log');
24 +define('APP_TPL_COMPILE_PATH', '/var/cache/eventum');
25 +define('APP_LOG_PATH', '/var/log/eventum');
26 define('APP_ERROR_LOG', APP_LOG_PATH . '/errors.log');
27 -define('APP_LOCKS_PATH', APP_VAR_PATH . '/lock');
28 +define('APP_LOCKS_PATH', '/var/run/eventum');
29 define('APP_LOCAL_PATH', APP_CONFIG_PATH);
31 header('Content-Type: text/html; charset=' . APP_CHARSET);
33 $errors[] = "The 'file_uploads' directive needs to be enabled in your PHP.INI file in order for Eventum to work properly.";
36 - $error = checkPermissions(APP_CONFIG_PATH, "Directory '" . APP_CONFIG_PATH . "'", true);
37 - if (!empty($error)) {
40 $error = checkPermissions(APP_SETUP_FILE, "File '" . APP_SETUP_FILE. "'");
43 --- eventum/bin/monitor.php 2010-11-24 17:24:23.000000000 +0200
44 +++ eventum/bin/monitor.php 2010-11-24 18:23:09.664934996 +0200
46 $required_files = array(
47 APP_CONFIG_PATH . '/config.php' => array(
48 'check_owner' => true,
49 - 'owner' => 'apache',
51 'check_group' => true,
52 - 'group' => 'apache',
54 'check_permission' => true,
57 APP_CONFIG_PATH . '/setup.php' => array(
58 'check_owner' => true,
59 - 'owner' => 'apache',
61 'check_group' => true,
62 - 'group' => 'apache',
64 'check_permission' => true,
66 'check_filesize' => true,
67 --- eventum-3.0.3-13-gfefa325/config/sphinx.conf.php~ 2015-10-13 20:00:48.000000000 +0300
68 +++ eventum-3.0.3-13-gfefa325/config/sphinx.conf.php 2015-10-13 23:34:19.668134549 +0300
70 // | Authors: Bryan Alsdorf <bryan@mysql.com> |
71 // | Authors: Elan Ruusamäe <glen@delfi.ee> |
72 // +----------------------------------------------------------------------+
73 -require_once __DIR__ . "/../init.php";
74 +require_once '/usr/share/eventum/init.php';
76 if (!defined('SPHINX_LOG_PATH')) {
77 define('SPHINX_LOG_PATH', '/var/log/sphinx/');