|
|
@@ -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) )
|