diff --git a/build.xml b/build.xml new file mode 100644 index 0000000..72f2712 --- /dev/null +++ b/build.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/index.php b/index.php index 4053923..e1d9b29 100644 --- a/index.php +++ b/index.php @@ -1,14 +1,7 @@ init(); $core->loadMod('router'); $core->mods->router->setPath( (isset($_GET['path']) ? $_GET['path'] : null) ); $core->mods->router->route(); diff --git a/load.php b/load.php new file mode 100644 index 0000000..1f050f9 --- /dev/null +++ b/load.php @@ -0,0 +1,13 @@ +init(); + +?> \ No newline at end of file diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 0000000..bc5ebc2 --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,9 @@ + + + + + tests + + + \ No newline at end of file diff --git a/tests/coreTest.php b/tests/coreTest.php new file mode 100644 index 0000000..15251de --- /dev/null +++ b/tests/coreTest.php @@ -0,0 +1,7 @@ +