|
@@ -1,7 +1,7 @@
|
|
|
<?php
|
|
<?php
|
|
|
|
|
|
|
|
include_once '../../simpletest/autorun.php';
|
|
include_once '../../simpletest/autorun.php';
|
|
|
-include_once '../pquery.config.php';
|
|
|
|
|
|
|
+include_once 'config.php';
|
|
|
include_once PQUERY_ROOT.'pquery.php';
|
|
include_once PQUERY_ROOT.'pquery.php';
|
|
|
|
|
|
|
|
function is_test_file($filename) {
|
|
function is_test_file($filename) {
|
|
@@ -11,16 +11,4 @@ function is_test_file($filename) {
|
|
|
foreach( array_filter(scandir('.'), 'is_test_file') as $file )
|
|
foreach( array_filter(scandir('.'), 'is_test_file') as $file )
|
|
|
include_once $file;
|
|
include_once $file;
|
|
|
|
|
|
|
|
-//include_once '../pquery.php';
|
|
|
|
|
-//__p::require_plugins('array', 'sql', 'template');
|
|
|
|
|
-
|
|
|
|
|
-// SQL test
|
|
|
|
|
-/*include_once '../../debug.php';
|
|
|
|
|
-$sql = _sql("select * from posts where slug = '[slug]'")
|
|
|
|
|
- ->set(array('slug' => 'contact'));
|
|
|
|
|
-$results = $sql->fetch_all('object');
|
|
|
|
|
-$results = _arr($results);
|
|
|
|
|
-
|
|
|
|
|
-debug($results);*/
|
|
|
|
|
-
|
|
|
|
|
?>
|
|
?>
|