]>
Commit | Line | Data |
---|---|---|
6efcadf2 | 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 | ||
361324bc | 5 | // Utilities |
6 | if ( ! @include_once('AWLUtilities.php') ) { | |
6efcadf2 | 7 | - $try_paths = array( |
361324bc | 8 | - '../../awl/inc' |
9 | - , '/usr/share/awl/inc' | |
10 | - , '/usr/local/share/awl/inc' | |
6efcadf2 | 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 | |
375e919d | 27 | --- davical-0.9.9.2/dba/create-database.sh~ 2010-09-21 03:40:44.000000000 +0200 |
28 | +++ davical-0.9.9.2/dba/create-database.sh 2010-09-22 17:02:18.000000000 +0200 | |
29 | @@ -16,16 +16,10 @@ | |
30 | ||
31 | # | |
32 | # Attempt to locate the AWL directory | |
33 | -AWLDIR="${DBADIR}/../../awl" | |
34 | +AWLDIR="/usr/share/php/awl" | |
35 | if ! testawldir "${AWLDIR}"; then | |
36 | - AWLDIR="/usr/share/awl" | |
37 | - if ! testawldir "${AWLDIR}"; then | |
38 | - AWLDIR="/usr/local/share/awl" | |
39 | - if ! testawldir "${AWLDIR}"; then | |
40 | - echo "Unable to find AWL libraries" | |
41 | - exit 1 | |
42 | - fi | |
43 | - fi | |
44 | + echo "Unable to find AWL libraries" | |
45 | + exit 1 | |
46 | fi | |
47 | ||
48 | export AWL_DBAUSER=davical_dba |