mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Fix some final niggles with setup.php and spurious logged errors.
This commit is contained in:
1 parent
cf934f8a90
commit
46addb00fd
3 files changed
+34
-8
No files matched your search
@@ -92,7 +92,9 @@ $c->dbg = array();
|
||||
|
||||
|
||||
// Utilities
|
||||
if ( isset($skip_errors) ) $skip_errors = true;
|
||||
if ( ! @include_once('AWLUtilities.php') ) {
|
||||
if ( isset($skip_errors) ) $skip_errors = false;
|
||||
$try_paths = array(
|
||||
'../../awl/inc'
|
||||
, '/usr/share/awl/inc' // Where it ends up on Debian
|
||||
@@ -110,6 +112,7 @@ if ( ! @include_once('AWLUtilities.php') ) {
|
||||
@ob_flush(); exit(0);
|
||||
}
|
||||
}
|
||||
if ( isset($skip_errors) ) $skip_errors = false;
|
||||
|
||||
// Ensure that ../inc is in our included paths as early as possible
|
||||
set_include_path( '../inc'. PATH_SEPARATOR. get_include_path());
|
||||
|
||||
Reference in new issue
Block a user