Commit 59872815 authored by Taddeus Kroes's avatar Taddeus Kroes

Fixed typo.

parent 3924b207
......@@ -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) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment