Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pquery
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
pquery
Commits
e1c569f0
Commit
e1c569f0
authored
Nov 05, 2011
by
Taddes Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved config constant inside class.
parent
4dd29e0a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
pquery.config.php
pquery.config.php
+8
-8
pquery.php
pquery.php
+1
-1
No files found.
pquery.config.php
View file @
e1c569f0
...
...
@@ -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.
*
...
...
pquery.php
View file @
e1c569f0
...
...
@@ -121,7 +121,7 @@ class pQuery {
//echo debug_backtrace();
}
ERROR_IS_FATAL
&&
exit
;
pQueryConfig
::
ERROR_IS_FATAL
&&
exit
;
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment