Commit e1c569f0 authored by Taddes Kroes's avatar Taddes Kroes

Moved config constant inside class.

parent 4dd29e0a
...@@ -22,17 +22,17 @@ define('DEBUG', true); ...@@ -22,17 +22,17 @@ define('DEBUG', true);
define('PQUERY_ROOT', 'D:/xampp/htdocs/pquery/'); define('PQUERY_ROOT', 'D:/xampp/htdocs/pquery/');
/** /**
* Abstract class containing plugin configs.
*/
abstract class pQueryConfig {
/**
* Indicates whether errors occuring in the framework will * Indicates whether errors occuring in the framework will
* terminate the script. * terminate the script.
* *
* @var bool * @var bool
*/ */
define('ERROR_IS_FATAL', true); const ERROR_IS_FATAL = true;
/**
* Abstract class containing plugin configs.
*/
abstract class pQueryConfig {
/** /**
* Config for MySQL plugin. * Config for MySQL plugin.
* *
......
...@@ -121,7 +121,7 @@ class pQuery { ...@@ -121,7 +121,7 @@ class pQuery {
//echo debug_backtrace(); //echo debug_backtrace();
} }
ERROR_IS_FATAL && exit; pQueryConfig::ERROR_IS_FATAL && exit;
} }
/** /**
......
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