Taddeus Kroes 14 rokov pred
rodič
commit
59872815d6
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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) )