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
8184990d
Commit
8184990d
authored
Dec 05, 2011
by
Taddeus Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated some comments.
parent
bc5247fd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
pquery.php
pquery.php
+2
-1
pquery.template.php
pquery.template.php
+2
-2
No files found.
pquery.php
View file @
8184990d
...
@@ -275,7 +275,8 @@ class pQuery {
...
@@ -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, ... ] */
)
{
static
function
assert_defined
(
/* $constant1 [ , $constant2, ... ] */
)
{
$constants
=
func_get_args
();
$constants
=
func_get_args
();
...
...
pquery.template.php
View file @
8184990d
...
@@ -61,8 +61,8 @@ class pQueryTemplate extends pQuery implements pQueryExtension {
...
@@ -61,8 +61,8 @@ class pQueryTemplate extends pQuery implements pQueryExtension {
$found
=
false
;
$found
=
false
;
$filename
=
$this
->
variable
;
$filename
=
$this
->
variable
;
// Add default extension
// Add default extension
if none is found
strpos
(
$filename
,
'.'
)
||
$filename
.=
'.'
.
self
::
DEFAULT_EXTENSION
;
strpos
(
$filename
,
'.'
)
===
false
&&
$filename
.=
'.'
.
self
::
DEFAULT_EXTENSION
;
foreach
(
self
::
$include_path
as
$root
)
{
foreach
(
self
::
$include_path
as
$root
)
{
$path
=
$root
.
$filename
;
$path
=
$root
.
$filename
;
...
...
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