Taddeus Kroes %!s(int64=14) %!d(string=hai) anos
pai
achega
59872815d6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pquery.template.php

+ 1 - 1
pquery.template.php

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