Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pquery
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
pquery
Commits
c4021e9b
Commit
c4021e9b
authored
Nov 08, 2011
by
Taddes Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed debug code.
parent
ff1290a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
19 deletions
+3
-19
test/index.php
test/index.php
+3
-19
No files found.
test/index.php
View file @
c4021e9b
...
...
@@ -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());*/
?>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment