Commit 3c8c11a1 authored by Taddes Kroes's avatar Taddes Kroes

Moves test files to separate folder.

parent 51ba7151
......@@ -56,7 +56,7 @@ class pQueryTemplate extends pQuery implements pQueryExtension {
*/
static function set_root($path, $relative=true) {
self::$include_path = array();
self::add_root($path);
self::add_root($path, $relative);
}
/**
......
<?php
include_once '../debug.php';
include_once 'pquery.php';
include_once '../../debug.php';
include_once '../pquery.php';
__p::require_plugins('array', 'sql', 'template');
// Array test
......@@ -19,7 +19,7 @@ $results = _arr($results);
debug($results);*/
__tpl::set_root('templates');
__tpl::set_root('templates', false);
$tpl = _tpl('test.tpl');
debug($tpl->content);
......
testcontent
\ No newline at end of file
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