1 --- eventum-3.0.3-118-g751b8cc/init.php~ 2015-10-19 22:56:35.000000000 +0300
2 +++ eventum-3.0.3-118-g751b8cc/init.php 2015-10-19 23:00:17.390607216 +0300
5 $define('APP_SETUP_FILE', APP_CONFIG_PATH . '/setup.php');
6 $define('APP_TPL_PATH', APP_PATH . '/templates');
7 -$define('APP_TPL_COMPILE_PATH', APP_PATH . '/templates_c');
8 +$define('APP_TPL_COMPILE_PATH', '/var/cache/eventum');
9 $define('APP_INC_PATH', APP_PATH . '/lib/eventum');
10 -$define('APP_LOCKS_PATH', APP_PATH . '/locks');
11 -$define('APP_LOG_PATH', APP_PATH . '/logs');
12 +$define('APP_LOCKS_PATH', '/var/run/eventum');
13 +$define('APP_LOG_PATH', '/var/log/eventum');
14 $define('APP_ERROR_LOG', APP_LOG_PATH . '/errors.log');
15 $define('APP_CLI_LOG', APP_LOG_PATH . '/cli.log');
16 $define('APP_IRC_LOG', APP_LOG_PATH . '/irc_bot.log');
17 --- eventum-3.0.0/htdocs/setup/index.php~ 2015-02-02 20:03:49.507010317 +0200
18 +++ eventum-3.0.0/htdocs/setup/index.php 2015-02-02 20:05:00.139257552 +0200
20 define('APP_CONFIG_PATH', APP_PATH . '/config');
21 define('APP_SETUP_FILE', APP_CONFIG_PATH . '/setup.php');
22 define('APP_TPL_PATH', APP_PATH . '/templates');
23 -define('APP_TPL_COMPILE_PATH', APP_PATH . '/templates_c');
24 -define('APP_LOG_PATH', APP_PATH . '/logs');
25 +define('APP_TPL_COMPILE_PATH', '/var/cache/eventum');
26 +define('APP_LOG_PATH', '/var/log/eventum');
27 define('APP_ERROR_LOG', APP_LOG_PATH . '/errors.log');
28 -define('APP_LOCKS_PATH', APP_PATH . '/locks');
29 +define('APP_LOCKS_PATH', '/var/run/eventum');
30 define('APP_LOCAL_PATH', APP_CONFIG_PATH);
32 header('Content-Type: text/html; charset=' . APP_CHARSET);
34 $errors[] = "The 'file_uploads' directive needs to be enabled in your PHP.INI file in order for Eventum to work properly.";
37 - $error = checkPermissions(APP_CONFIG_PATH, "Directory '" . APP_CONFIG_PATH . "'", true);
38 - if (!empty($error)) {
41 $error = checkPermissions(APP_SETUP_FILE, "File '" . APP_SETUP_FILE. "'");
44 --- eventum/bin/monitor.php 2010-11-24 17:24:23.000000000 +0200
45 +++ eventum/bin/monitor.php 2010-11-24 18:23:09.664934996 +0200
47 $required_files = array(
48 APP_CONFIG_PATH . '/config.php' => array(
49 'check_owner' => true,
50 - 'owner' => 'apache',
52 'check_group' => true,
53 - 'group' => 'apache',
55 'check_permission' => true,
58 APP_CONFIG_PATH . '/setup.php' => array(
59 'check_owner' => true,
60 - 'owner' => 'apache',
62 'check_group' => true,
63 - 'group' => 'apache',
65 'check_permission' => true,
67 'check_filesize' => true,
68 --- eventum-3.0.3-13-gfefa325/config/sphinx.conf.php~ 2015-10-13 20:00:48.000000000 +0300
69 +++ eventum-3.0.3-13-gfefa325/config/sphinx.conf.php 2015-10-13 23:34:19.668134549 +0300
71 // | Authors: Bryan Alsdorf <bryan@mysql.com> |
72 // | Authors: Elan Ruusamäe <glen@delfi.ee> |
73 // +----------------------------------------------------------------------+
74 -require_once __DIR__ . "/../init.php";
75 +require_once '/usr/share/eventum/init.php';
77 if (!defined('SPHINX_LOG_PATH')) {
78 define('SPHINX_LOG_PATH', '/var/log/sphinx/');