]> git.pld-linux.org Git - packages/davical.git/commitdiff
- set include_path
authorpawelz <pawelz@pld-linux.org>
Wed, 22 Sep 2010 12:59:43 +0000 (12:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    davical-php_data_dir.patch -> 1.1

davical-php_data_dir.patch [new file with mode: 0644]

diff --git a/davical-php_data_dir.patch b/davical-php_data_dir.patch
new file mode 100644 (file)
index 0000000..82a2fed
--- /dev/null
@@ -0,0 +1,13 @@
+--- davical-0.9.9.2/inc/always.php.in~ 2010-09-21 04:28:04.000000000 +0200
++++ davical-0.9.9.2/inc/always.php.in  2010-09-22 13:46:31.000000000 +0200
+@@ -71,9 +71,7 @@
+ // Utilities
+ if ( ! @include_once('AWLUtilities.php') ) {
+   $try_paths = array(
+-        '../../awl/inc'
+-      , '/usr/share/awl/inc'
+-      , '/usr/local/share/awl/inc'
++        '@PHP_DATA_DIR@/awl/inc'
+   );
+   foreach( $try_paths AS $awl_include_path ) {
+     if ( @file_exists($awl_include_path.'/AWLUtilities.php') ) {
This page took 0.060296 seconds and 4 git commands to generate.