REQUEST_URI is undefined from the CLI
This commit is contained in:
parent
6410199a84
commit
d4accf09de
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ require_once "lib/context.php";
|
||||||
if(CONTEXT) {
|
if(CONTEXT) {
|
||||||
ctx_set_log(CONTEXT);
|
ctx_set_log(CONTEXT);
|
||||||
}
|
}
|
||||||
ctx_log_start($_SERVER["REQUEST_URI"], true, true);
|
ctx_log_start(@$_SERVER["REQUEST_URI"], true, true);
|
||||||
if(COVERAGE) {
|
if(COVERAGE) {
|
||||||
_start_coverage();
|
_start_coverage();
|
||||||
register_shutdown_function("_end_coverage");
|
register_shutdown_function("_end_coverage");
|
||||||
|
|
Reference in a new issue