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
59872815
Commit
59872815
authored
Dec 05, 2011
by
Taddeus Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed typo.
parent
3924b207
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pquery.template.php
pquery.template.php
+1
-1
No files found.
pquery.template.php
View file @
59872815
...
@@ -234,7 +234,7 @@ class pQueryTemplate extends pQuery implements pQueryExtension {
...
@@ -234,7 +234,7 @@ class pQueryTemplate extends pQuery implements pQueryExtension {
* @param bool $relative Indicates whether the path is relative to the document root.
* @param bool $relative Indicates whether the path is relative to the document root.
*/
*/
static
function
add_root
(
$path
,
$relative
=
true
)
{
static
function
add_root
(
$path
,
$relative
=
true
)
{
$relative
&&
$path
=
SITE
_ROOT
.
$path
;
$relative
&&
$path
=
PQUERY
_ROOT
.
$path
;
preg_match
(
'%/$%'
,
$path
)
||
$path
.=
'/'
;
preg_match
(
'%/$%'
,
$path
)
||
$path
.=
'/'
;
if
(
!
is_dir
(
$path
)
)
if
(
!
is_dir
(
$path
)
)
...
...
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