aboutsummaryrefslogtreecommitdiffstats
path: root/www-apps/davical/files/inc_path.patch
blob: bc646f1d09b2ad12aac6e95482bd610461def821 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- htdocs/always.php.orig	2012-01-05 21:28:16.382878446 +0100
+++ htdocs/always.php	2012-01-05 21:30:06.828431957 +0100
@@ -48,7 +48,7 @@
 // $c->default_locale = array('es_MX', 'es_AR', 'es', 'pt');  // An array of locales to try, or just a single locale
 // $c->local_tzid = 'Pacific/Auckland';  // Perhaps we should read from /etc/timezone - I wonder how standard that is?
 $c->default_locale = 'en';
-$c->locale_path = '../locale';
+$c->locale_path = '../../davical/locale';
 $c->base_url = preg_replace('#/[^/]+\.php.*$#', '', $_SERVER['SCRIPT_NAME']);
 $c->base_directory = preg_replace('#/[^/]*$#', '', $_SERVER['DOCUMENT_ROOT']);
 $c->default_privileges = array('read-free-busy', 'schedule-deliver');
@@ -95,7 +96,7 @@
 }
 
 // Ensure that ../inc is in our included paths as early as possible
-set_include_path( '../inc'. PATH_SEPARATOR. get_include_path());
+set_include_path( '../../davical/inc'. PATH_SEPARATOR. get_include_path());
 
 
 /** We actually discovered this and worked around it earlier, but we can't log it until the utilties are loaded */