mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Fix include path for new always.php location.
This commit is contained in:
1 parent
9b3fb58b9f
commit
92e106653b
3 files changed
+7
-7
No files matched your search
@@ -2,13 +2,13 @@
|
||||
<?php
|
||||
|
||||
if ( @file_exists('../../awl/inc/AWLUtilities.php') ) {
|
||||
set_include_path('../inc:../../awl/inc');
|
||||
set_include_path('../inc:../htdocs:../../awl/inc');
|
||||
}
|
||||
else if ( @file_exists('../awl/inc/AWLUtilities.php') ) {
|
||||
set_include_path('inc:../awl/inc:.');
|
||||
set_include_path('inc:htdocs:../awl/inc:.');
|
||||
}
|
||||
else {
|
||||
set_include_path('../inc:/usr/share/awl/inc');
|
||||
set_include_path('../inc:../htdocs:/usr/share/awl/inc');
|
||||
}
|
||||
include('always.php');
|
||||
require_once('AwlQuery.php');
|
||||
@@ -373,4 +373,4 @@ $cache_file = fopen($sync_cache_filename, 'w');
|
||||
fwrite( $cache_file, serialize($newcache) );
|
||||
fclose($cache_file);
|
||||
|
||||
print_r($newcache);
|
||||
print_r($newcache);
|
||||
Reference in new issue
Block a user