Commit cfb45de5 authored by jepso's avatar jepso

fixed spike phpcoverage, there were some problems with global variables

parent 0dbea77d
...@@ -8,11 +8,13 @@ ...@@ -8,11 +8,13 @@
*/ */
?> ?>
<?php <?php
global $spc_config;
// Set to 'LOG_DEBUG' for maximum log output // Set to 'LOG_DEBUG' for maximum log output
// Note that the log file size will grow rapidly // Note that the log file size will grow rapidly
// with LOG_DEBUG // with LOG_DEBUG
//$spc_config['log_level'] = 'LOG_NOTICE'; $spc_config['log_level'] = 'LOG_NOTICE';
$spc_config['log_level'] = 'LOG_DEBUG'; //$spc_config['log_level'] = 'LOG_DEBUG';
// file extension to be treated as php files // file extension to be treated as php files
// comma-separated list, no space // comma-separated list, no space
......
...@@ -219,6 +219,6 @@ ...@@ -219,6 +219,6 @@
/*}}}*/ /*}}}*/
} }
$util = new Utility();
global $util; global $util;
$util = new Utility();
?> ?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment