mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Better check for $_SERVER['PATH_INFO']
This commit is contained in:
1 parent
6ac6b30c7a
commit
de29c6c6ee
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -279,7 +279,7 @@ if ( isset($_SERVER['HTTP_X_DAVICAL_TESTCASE']) ) {
|
||||
else if ( isset($c->dbg['script_start']) && $c->dbg['script_start'] ) {
|
||||
// Only log this if more than a little debugging of some sort is turned on, somewhere
|
||||
@dbg_error_log( 'LOG', '==========> method =%s= =%s= =%s= =%s= =%s=',
|
||||
$_SERVER['REQUEST_METHOD'], $c->protocol_server_port_script, (isset($_SERVER['PATH_INFO']) ? $_SERVER['PATH_INFO'] : '$_SERVER[PATH_INFO] undefined'), $c->base_url, $c->base_directory );
|
||||
$_SERVER['REQUEST_METHOD'], $c->protocol_server_port_script, (isset($_SERVER['PATH_INFO']) && $_SERVER['PATH_INFO'] !== '' ? $_SERVER['PATH_INFO'] : '$_SERVER[PATH_INFO] undefined'), $c->base_url, $c->base_directory );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user