]> git.pld-linux.org Git - packages/davical.git/blob - davical-php_data_dir.patch
- don't install windows-related stuff
[packages/davical.git] / davical-php_data_dir.patch
1 --- davical-0.9.9.2/inc/always.php.in.orig      2010-09-22 15:19:34.000000000 +0200
2 +++ davical-0.9.9.2/inc/always.php.in   2010-09-22 15:19:48.000000000 +0200
3 @@ -70,21 +70,8 @@
4  
5  // Utilities
6  if ( ! @include_once('AWLUtilities.php') ) {
7 -  $try_paths = array(
8 -        '../../awl/inc'
9 -      , '/usr/share/awl/inc'
10 -      , '/usr/local/share/awl/inc'
11 -  );
12 -  foreach( $try_paths AS $awl_include_path ) {
13 -    if ( @file_exists($awl_include_path.'/AWLUtilities.php') ) {
14 -      set_include_path( $awl_include_path. PATH_SEPARATOR. get_include_path());
15 -      break;
16 -    }
17 -  }
18 -  if ( ! @include_once('AWLUtilities.php') ) {
19 -    echo "Could not find the AWL libraries. Are they installed? Check your include_path in php.ini!\n";
20 -    exit;
21 -  }
22 +  echo "Could not find the AWL libraries. Are they installed? Check your include_path in php.ini!\n";
23 +  exit;
24  }
25  
26  // Ensure that ../inc is in our included paths as early as possible
This page took 0.278447 seconds and 3 git commands to generate.