Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pquery
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Taddeüs Kroes
pquery
Commits
8184990d
Commit
8184990d
authored
13 years ago
by
Taddeus Kroes
Browse files
Options
Downloads
Patches
Plain Diff
Updated some comments.
parent
bc5247fd
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pquery.php
+2
-1
2 additions, 1 deletion
pquery.php
pquery.template.php
+2
-2
2 additions, 2 deletions
pquery.template.php
with
4 additions
and
3 deletions
pquery.php
+
2
−
1
View file @
8184990d
...
...
@@ -275,7 +275,8 @@ class pQuery {
}
/**
* Assert that the given constants have been defined. Add the prefix 'PQUERY_' to each constant name.
* Assert that the given constants have been defined.
* Add the prefix 'PQUERY_' to each constant name.
*/
static
function
assert_defined
(
/* $constant1 [ , $constant2, ... ] */
)
{
$constants
=
func_get_args
();
...
...
This diff is collapsed.
Click to expand it.
pquery.template.php
+
2
−
2
View file @
8184990d
...
...
@@ -61,8 +61,8 @@ class pQueryTemplate extends pQuery implements pQueryExtension {
$found
=
false
;
$filename
=
$this
->
variable
;
// Add default extension
strpos
(
$filename
,
'.'
)
||
$filename
.
=
'.'
.
self
::
DEFAULT_EXTENSION
;
// Add default extension
if none is found
strpos
(
$filename
,
'.'
)
===
false
&&
$filename
.
=
'.'
.
self
::
DEFAULT_EXTENSION
;
foreach
(
self
::
$include_path
as
$root
)
{
$path
=
$root
.
$filename
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment