Skip to content
Snippets Groups Projects
Commit 59872815 authored by Taddeus Kroes's avatar Taddeus Kroes
Browse files

Fixed typo.

parent 3924b207
No related branches found
No related tags found
No related merge requests found
......@@ -234,7 +234,7 @@ class pQueryTemplate extends pQuery implements pQueryExtension {
* @param bool $relative Indicates whether the path is relative to the document root.
*/
static function add_root($path, $relative=true) {
$relative && $path = SITE_ROOT.$path;
$relative && $path = PQUERY_ROOT.$path;
preg_match('%/$%', $path) || $path .= '/';
if( !is_dir($path) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment