]> git.pld-linux.org Git - packages/eventum.git/blame - eventum-paths.patch
up to 3.1.4
[packages/eventum.git] / eventum-paths.patch
CommitLineData
947341a2
ER
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
3@@ -76,9 +76,9 @@
b01e96c4 4 $define('APP_SETUP_FILE', APP_CONFIG_PATH . '/setup.php');
947341a2 5 $define('APP_INC_PATH', APP_PATH . '/lib/eventum');
b01e96c4 6 $define('APP_TPL_PATH', APP_PATH . '/templates');
947341a2
ER
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');
b01e96c4 10+$define('APP_TPL_COMPILE_PATH', '/var/cache/eventum');
57a43f74 11+$define('APP_LOCKS_PATH', '/var/run/eventum');
b01e96c4
ER
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');
947341a2
ER
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
18@@ -47,10 +47,10 @@
7a906e31 19 define('APP_CONFIG_PATH', APP_PATH . '/config');
ae3e48e6
ER
20 define('APP_SETUP_FILE', APP_CONFIG_PATH . '/setup.php');
21 define('APP_TPL_PATH', APP_PATH . '/templates');
947341a2
ER
22-define('APP_TPL_COMPILE_PATH', APP_VAR_PATH . '/cache');
23-define('APP_LOG_PATH', APP_VAR_PATH . '/log');
31dabce6 24+define('APP_TPL_COMPILE_PATH', '/var/cache/eventum');
ae3e48e6
ER
25+define('APP_LOG_PATH', '/var/log/eventum');
26 define('APP_ERROR_LOG', APP_LOG_PATH . '/errors.log');
947341a2 27-define('APP_LOCKS_PATH', APP_VAR_PATH . '/lock');
ae3e48e6 28+define('APP_LOCKS_PATH', '/var/run/eventum');
7a906e31 29 define('APP_LOCAL_PATH', APP_CONFIG_PATH);
31dabce6 30
ae3e48e6 31 header('Content-Type: text/html; charset=' . APP_CHARSET);
899100ff
ER
32@@ -254,10 +254,6 @@
33 $errors[] = "The 'file_uploads' directive needs to be enabled in your PHP.INI file in order for Eventum to work properly.";
452347b6 34 }
abac5638 35
899100ff 36- $error = checkPermissions(APP_CONFIG_PATH, "Directory '" . APP_CONFIG_PATH . "'", true);
31dabce6
ER
37- if (!empty($error)) {
38- $errors[] = $error;
39- }
098cbb72 40 $error = checkPermissions(APP_SETUP_FILE, "File '" . APP_SETUP_FILE. "'");
31dabce6
ER
41 if (!empty($error)) {
42 $errors[] = $error;
549721ab
ER
43--- eventum-3.0.8-100-g3543f89/src/Command/MonitorCommand.php~ 2016-01-31 18:24:19.000000000 +0200
44+++ eventum-3.0.8-100-g3543f89/src/Command/MonitorCommand.php 2016-02-01 00:16:28.751423105 +0200
45@@ -31,17 +31,17 @@
46 $required_files = array(
a8005c48 47 APP_CONFIG_PATH . '/config.php' => [
549721ab
ER
48 'check_owner' => true,
49- 'owner' => 'apache',
50+ 'owner' => 'root',
51 'check_group' => true,
52- 'group' => 'apache',
53+ 'group' => 'http',
54 'check_permission' => true,
55 'permission' => 640,
a8005c48
ER
56 ],
57 APP_CONFIG_PATH . '/setup.php' => [
549721ab
ER
58 'check_owner' => true,
59- 'owner' => 'apache',
60+ 'owner' => 'root',
61 'check_group' => true,
62- 'group' => 'apache',
63+ 'group' => 'http',
64 'check_permission' => true,
65 'permission' => 660,
66 'check_filesize' => true,
9d207070
ER
67--- eventum-3.0.3-314-gedea8e4/config/sphinx.conf.php~ 2015-10-27 18:02:36.000000000 +0200
68+++ eventum-3.0.3-314-gedea8e4/config/sphinx.conf.php 2015-10-29 11:53:26.068169385 +0200
69@@ -1,7 +1,7 @@
70 #!/usr/bin/php
71 <?php
72
37f06e5c 73-require_once __DIR__ . "/../init.php";
858c6f2a
ER
74+require_once '/usr/share/eventum/init.php';
75
76 if (!defined('SPHINX_LOG_PATH')) {
77 define('SPHINX_LOG_PATH', '/var/log/sphinx/');
This page took 0.111413 seconds and 4 git commands to generate.