From 7794f55fac305e7a7fdd23806208ed3cec9f1052 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Wed, 19 Jun 2013 01:42:18 +0200 Subject: [PATCH] Initial commit --- .gitignore | 1 + config.json.example | 30 ++++++++++++++++++++++++++++++ public_html/cphp | 1 + public_html/includes/base.php | 17 +++++++++++++++++ public_html/index.php | 14 ++++++++++++++ public_html/locales/english.lng | 24 ++++++++++++++++++++++++ public_html/rewrite.php | 16 ++++++++++++++++ 7 files changed, 103 insertions(+) create mode 100644 .gitignore create mode 100644 config.json.example create mode 120000 public_html/cphp create mode 100644 public_html/includes/base.php create mode 100644 public_html/index.php create mode 100644 public_html/locales/english.lng create mode 100644 public_html/rewrite.php diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d344ba6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +config.json diff --git a/config.json.example b/config.json.example new file mode 100644 index 0000000..a37f884 --- /dev/null +++ b/config.json.example @@ -0,0 +1,30 @@ +{ + "database": { + "driver": "mysql", + "hostname": "localhost", + "username": "root", + "password": "", + "database": "cryto" + }, + "locale": { + "path": "locales", + "extension": "lng", + "default_locale": "english", + "default_timezone": "Europe/Amsterdam" + }, + "memcache": { + "enabled": true, + "compressed": true, + "hostname": "localhost", + "port": 11211 + }, + "class_map": { + + }, + "components": [ + "router", + "errorhandler" + ], + "autoloader": true, + "salt": "abcdef" +} diff --git a/public_html/cphp b/public_html/cphp new file mode 120000 index 0000000..aaeddf6 --- /dev/null +++ b/public_html/cphp @@ -0,0 +1 @@ +../../cphp \ No newline at end of file diff --git a/public_html/includes/base.php b/public_html/includes/base.php new file mode 100644 index 0000000..9dd2261 --- /dev/null +++ b/public_html/includes/base.php @@ -0,0 +1,17 @@ +