Skip to content
Snippets Groups Projects
Commit e1c569f0 authored by Taddes Kroes's avatar Taddes Kroes
Browse files

Moved config constant inside class.

parent 4dd29e0a
No related branches found
No related tags found
No related merge requests found
......@@ -21,18 +21,18 @@ define('DEBUG', true);
*/
define('PQUERY_ROOT', 'D:/xampp/htdocs/pquery/');
/**
* Indicates whether errors occuring in the framework will
* terminate the script.
*
* @var bool
*/
define('ERROR_IS_FATAL', true);
/**
* Abstract class containing plugin configs.
*/
abstract class pQueryConfig {
/**
* Indicates whether errors occuring in the framework will
* terminate the script.
*
* @var bool
*/
const ERROR_IS_FATAL = true;
/**
* Config for MySQL plugin.
*
......
......@@ -121,7 +121,7 @@ class pQuery {
//echo debug_backtrace();
}
ERROR_IS_FATAL && exit;
pQueryConfig::ERROR_IS_FATAL && exit;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment