Skip to content

Commit

Permalink
#534 - Do not use KOOWA_DEBUG env variable
Browse files Browse the repository at this point in the history
We are not using env variables anywhere else instead set the debug config option externally when instantiating
  • Loading branch information
johanjanssens committed Dec 10, 2021
1 parent 89d32c2 commit 1a5ebbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/libraries/joomlatools/library/koowa.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private function __construct($config = array())
if(isset($config['debug'])) {
self::$_debug = $config['debug'];
} else {
self::$_debug = (getenv('KOOWA_DEBUG') !== false ? filter_var( getenv('KOOWA_DEBUG') , FILTER_VALIDATE_BOOLEAN) : false);
self::$_debug = false;
}

//Initialize the root path
Expand Down

0 comments on commit 1a5ebbe

Please sign in to comment.