diff options
-rw-r--r-- | README.md | 10 | ||||
-rw-r--r-- | config.default.ini | 14 |
2 files changed, 10 insertions, 14 deletions
@@ -13,6 +13,16 @@ MAIN - the simple PHP framework views (create a folder for each controller and an action.html file for every view) data (a good place to store all your application data, logs, etc) +So a typical bootstrap would go something like this: + + cd mysite + mkdir system/lib data public system + touch public/index.php data/error.log + cd system/lib + git clone git://github.com/filipp/main.git + cd ../.. + mate . + ## index.php ## A typical index.php using Main would look like this: diff --git a/config.default.ini b/config.default.ini deleted file mode 100644 index 332bcff..0000000 --- a/config.default.ini +++ /dev/null @@ -1,14 +0,0 @@ -[development] -db.name = servo -db.driver = mysql -db.host = localhost -db.username = -db.password = - -app.timezone = Europe/Helsinki -app.error_log = error.log - -defaults.locale = fi_FI -defaults.controller = session -defaults.action = check -defaults.title = MyWebApp |