return smarty_modifier_highlight_quoted($text);
}
---- eventum/init.php 2007-01-30 19:05:56.897776515 +0200
-+++ eventum/init.php 2007-01-30 20:12:31.017572265 +0200
-@@ -27,5 +27,5 @@
+--- eventum-r3615/init.php~ 2008-06-05 00:02:42.833798000 +0300
++++ eventum-r3615/init.php 2008-06-05 00:02:58.229406819 +0300
+@@ -26,7 +26,7 @@
+ // | Authors: Elan Ruusamäe <glen@delfi.ee> |
// +----------------------------------------------------------------------+
-if (!file_exists(dirname(__FILE__) . '/config/config.php')) {
+if (!file_exists('/etc/webapps/eventum/config.php')) {
Header('Location: setup/');
exit;
-@@ -43,31 +43,31 @@
- define('APP_VERSION', '2.0-alpha');
+ }
+@@ -45,30 +45,30 @@
// define base path
-define('APP_PATH', realpath(dirname(__FILE__)) . '/');
}
if (!defined('APP_JPGRAPH_PATH')) {
-@@ -75,7 +75,7 @@
+@@ -76,7 +76,7 @@
}
if (!defined('APP_LOCKS_PATH')) {
}
if (!defined('APP_SETUP_FILE')) {
-@@ -83,7 +83,7 @@
+@@ -84,11 +84,11 @@
+ }
+
+ if (!defined('APP_SQL_PATCHES_PATH')) {
+- define('APP_SQL_PATCHES_PATH', APP_PATH . 'misc/upgrade/patches');
++ define('APP_SQL_PATCHES_PATH', '/usr/share/eventum/upgrade/patches');
}
if (!defined('APP_LOG_PATH')) {
+ define('APP_LOG_PATH', '/var/log/eventum/');
}
- if (!defined('APP_ERROR_LOG')) {
+ if (!defined('APP_ROUTED_MAILS_SAVEDIR')) {
--- eventum/setup/index.php~ 2007-01-30 20:04:32.306824546 +0200
+++ eventum/setup/index.php 2007-01-30 20:14:43.880555938 +0200
@@ -38,17 +38,17 @@
-require_once(dirname(__FILE__) . '/config.inc.php');
+require_once('/etc/eventum/cli.php');
require_once(APP_INC_PATH . 'class.command_line.php');
+--- eventum/misc/process_mail_queue.php~ 2007-02-15 00:31:11.000000000 +0200
++++ eventum/misc/process_mail_queue.php 2007-02-15 01:02:15.704386785 +0200
+@@ -30,7 +30,7 @@
+
+ ini_set("memory_limit", "1024M");
+
+-require_once(dirname(__FILE__) . "/../init.php");
++require_once(dirname(__FILE__) . "/htdocs/init.php");
+ require_once(APP_INC_PATH . "db_access.php");
+ require_once(APP_INC_PATH . "class.mail_queue.php");
+
+--- eventum/misc/download_emails.php~ 2007-02-15 00:31:11.000000000 +0200
++++ eventum/misc/download_emails.php 2007-02-15 01:02:56.183553358 +0200
+@@ -30,7 +30,7 @@
+
+ ini_set("memory_limit", "1024M");
+
+-require_once(dirname(__FILE__) . "/../init.php");
++require_once(dirname(__FILE__) . "/htdocs/init.php");
+ require_once(APP_INC_PATH . "class.support.php");
+ require_once(APP_INC_PATH . "class.lock.php");
+ require_once(APP_INC_PATH . "class.project.php");
+--- eventum/misc/check_reminders.php~ 2007-02-15 01:04:27.107937884 +0200
++++ eventum/misc/check_reminders.php 2007-02-15 01:10:20.645910516 +0200
+@@ -29,7 +29,7 @@
+ // @(#) $Id$
+ //
+
+-require_once(dirname(__FILE__) . "/../init.php");
++require_once(dirname(__FILE__) . "/htdocs/init.php");
+ require_once(APP_INC_PATH . "db_access.php");
+ require_once(APP_INC_PATH . "class.lock.php");
+ require_once(APP_INC_PATH . "class.reminder.php");
+--- eventum/misc/monitor.php~ 2007-02-15 01:27:45.089473611 +0200
++++ eventum/misc/monitor.php 2007-02-15 01:28:05.849942411 +0200
+@@ -27,7 +27,7 @@
+ //
+ // @(#) $Id$
+
+-require_once(dirname(__FILE__) . "/../init.php");
++require_once(dirname(__FILE__) . "/htdocs/init.php");
+ require_once(APP_INC_PATH . "class.monitor.php");
+
+ // the disk partition in which eventum is stored in
+--- eventum/misc/route_drafts.php~ 2007-02-15 01:36:00.780666107 +0200
++++ eventum/misc/route_drafts.php 2007-02-15 01:36:28.141283847 +0200
+@@ -27,7 +27,7 @@
+ //
+ // @(#) $Id$
+
+-include_once(dirname(__FILE__) . "/../init.php");
++require_once(dirname(__FILE__) . "/htdocs/init.php");
+ require_once(APP_INC_PATH . "db_access.php");
+ require_once(APP_INC_PATH . "class.routing.php");
+
+--- eventum/misc/route_emails.php~ 2007-02-15 01:37:09.932227380 +0200
++++ eventum/misc/route_emails.php 2007-02-15 01:37:25.452577786 +0200
+@@ -27,7 +27,7 @@
+ //
+ // @(#) $Id$
+
+-include_once(dirname(__FILE__) . "/../init.php");
++require_once(dirname(__FILE__) . "/htdocs/init.php");
+ require_once(APP_INC_PATH . "db_access.php");
+ require_once(APP_INC_PATH . "class.routing.php");
+
+--- eventum/misc/route_notes.php~ 2007-02-15 01:38:04.393456957 +0200
++++ eventum/misc/route_notes.php 2007-02-15 01:38:18.973786135 +0200
+@@ -27,7 +27,7 @@
+ //
+ // @(#) $Id$
+
+-include_once(dirname(__FILE__) . "/../init.php");
++require_once(dirname(__FILE__) . "/htdocs/init.php");
+ require_once(APP_INC_PATH . "db_access.php");
+ require_once(APP_INC_PATH . "class.routing.php");
+