Quellcode durchsuchen

Removed debug code.

Taddes Kroes vor 14 Jahren
Ursprung
Commit
c4021e9b39
1 geänderte Dateien mit 3 neuen und 19 gelöschten Zeilen
  1. 3 19
      test/index.php

+ 3 - 19
test/index.php

@@ -11,32 +11,16 @@ function is_test_file($filename) {
 foreach( array_filter(scandir('.'), 'is_test_file') as $file )
 	include_once $file;
 
-/*include_once '../../debug.php';
-include_once '../pquery.php';*/
+//include_once '../pquery.php';
 //__p::require_plugins('array', 'sql', 'template');
 
-// Array test
-/*$a = _p(range(0, 10));
-
-while( !$a->is_empty() ) {
-	debug($a->pop(), $a->reverse()->pop());
-}*/
-
 // SQL test
-/*$sql = _sql("select * from posts where slug = '[slug]'")
+/*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);*/
 
-/*__tpl::set_root('templates', false);
-$tpl = _tpl('test.tpl');
-
-$test1 = $tpl->data->add('test1', array('var' => 'some-variable'));
-$tpl->data->add('test1', array('var' => 'some-other-variable'));
-$test1->add('test2');
-$tpl->data->add('test3');
-debug($tpl->parse());*/
-
 ?>