From 6a7ad50a2675b91489117cfc1bf67b5f618dca92 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sat, 15 Aug 2009 19:53:21 +0300 Subject: [PATCH] * Initial directory structure. * First parts of boot process works. --- config/init/boot.php | 37 +++++++++++++++++++++++++++++ config/init/boot_config.php | 16 +++++++++++++ public/.htaccess | 12 ++++++++++ public/dispatch.php | 21 +++++++++++++++++ vendor/zynapse/dispatcher.php | 42 +++++++++++++++++++++++++++++++++ vendor/zynapse/zynapse.php | 44 +++++++++++++++++++++++++++++++++++ 6 files changed, 172 insertions(+) create mode 100644 config/init/boot.php create mode 100644 config/init/boot_config.php create mode 100644 public/.htaccess create mode 100644 public/dispatch.php create mode 100644 vendor/zynapse/dispatcher.php create mode 100644 vendor/zynapse/zynapse.php diff --git a/config/init/boot.php b/config/init/boot.php new file mode 100644 index 0000000..954efe0 --- /dev/null +++ b/config/init/boot.php @@ -0,0 +1,37 @@ + \ No newline at end of file diff --git a/config/init/boot_config.php b/config/init/boot_config.php new file mode 100644 index 0000000..fc1e7ff --- /dev/null +++ b/config/init/boot_config.php @@ -0,0 +1,16 @@ + \ No newline at end of file diff --git a/public/.htaccess b/public/.htaccess new file mode 100644 index 0000000..58eaa7c --- /dev/null +++ b/public/.htaccess @@ -0,0 +1,12 @@ + +RewriteEngine On + +RewriteRule ^.*\.svn.*$ /404 + +RewriteRule ^$ index.html [QSA] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteCond %{REQUEST_FILENAME} !favicon.ico +RewriteCond %{REQUEST_FILENAME} !robots.txt +RewriteRule ^(.*)$ /dispatch.php [QSA,L] + diff --git a/public/dispatch.php b/public/dispatch.php new file mode 100644 index 0000000..16f3abb --- /dev/null +++ b/public/dispatch.php @@ -0,0 +1,21 @@ + \ No newline at end of file diff --git a/vendor/zynapse/dispatcher.php b/vendor/zynapse/dispatcher.php new file mode 100644 index 0000000..bf370f0 --- /dev/null +++ b/vendor/zynapse/dispatcher.php @@ -0,0 +1,42 @@ + \ No newline at end of file diff --git a/vendor/zynapse/zynapse.php b/vendor/zynapse/zynapse.php new file mode 100644 index 0000000..dbdc30b --- /dev/null +++ b/vendor/zynapse/zynapse.php @@ -0,0 +1,44 @@ + \ No newline at end of file