Skip to content
Snippets Groups Projects
Commit 3c8c11a1 authored by Taddes Kroes's avatar Taddes Kroes
Browse files

Moves test files to separate folder.

parent 51ba7151
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment