]> git.pld-linux.org Git - packages/davical.git/commitdiff
- don't try to guess this path. It is set in .conf file.
authorpawelz <pawelz@pld-linux.org>
Wed, 22 Sep 2010 13:43:33 +0000 (13:43 +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.2

davical-php_data_dir.patch

index 82a2fed0d2cd30fc1c0059a530eb0276e5c3fd7d..15b8b930c1fc477b344dd840c783b2f4d6240055 100644 (file)
@@ -1,13 +1,26 @@
---- 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 @@
+--- davical-0.9.9.2/inc/always.php.in.orig     2010-09-22 15:19:34.000000000 +0200
++++ davical-0.9.9.2/inc/always.php.in  2010-09-22 15:19:48.000000000 +0200
+@@ -70,21 +70,8 @@
  // Utilities
  if ( ! @include_once('AWLUtilities.php') ) {
-   $try_paths = array(
+-  $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') ) {
+-  );
+-  foreach( $try_paths AS $awl_include_path ) {
+-    if ( @file_exists($awl_include_path.'/AWLUtilities.php') ) {
+-      set_include_path( $awl_include_path. PATH_SEPARATOR. get_include_path());
+-      break;
+-    }
+-  }
+-  if ( ! @include_once('AWLUtilities.php') ) {
+-    echo "Could not find the AWL libraries. Are they installed? Check your include_path in php.ini!\n";
+-    exit;
+-  }
++  echo "Could not find the AWL libraries. Are they installed? Check your include_path in php.ini!\n";
++  exit;
+ }
+ // Ensure that ../inc is in our included paths as early as possible
This page took 0.059705 seconds and 4 git commands to generate.