]> jfr.im git - z_archive/KronOS.git/commitdiff
Database config example; autoload database library
authorJohn Runyon <redacted>
Tue, 16 Oct 2012 06:39:09 +0000 (09:39 +0300)
committerJohn Runyon <redacted>
Tue, 16 Oct 2012 06:39:09 +0000 (09:39 +0300)
.gitignore
README.md
application/config/autoload.php
application/config/database.php.example [moved from application/config/database.php with 100% similarity]

index 0487d7c6bca6ccb75470a6ee44cb5c541269a923..6c68886c3fa068cd41712c9ccb3976e64b6f881f 100644 (file)
@@ -2,3 +2,4 @@
 *~
 *.bak
 config.php
+database.php
index 52313a7ab395bdd4912200414256eceb76fa36bd..4081be85342c694eeb34157a85f4f518b6daa7be 100644 (file)
--- a/README.md
+++ b/README.md
@@ -11,5 +11,7 @@ Installing
 ----------
 1. Download, unpack, bla.
 1. Import dump.sql into a MySQL db.
-1. Rename application/config/config.php.example -> config.php and edit.
+1. Rename and edit the following files in application/config/:
+   *  config.php.example -> config.php
+   *  database.php.example -> database.php
 1. Insert initial users into the DB.
index a8316d0f017846163cb7306bb48b829d519159b4..9e04ba827da9349f55f51ab025944d22a80f5e4c 100644 (file)
@@ -52,7 +52,7 @@ $autoload['packages'] = array();
 |      $autoload['libraries'] = array('database', 'session', 'xmlrpc');
 */
 
-$autoload['libraries'] = array();
+$autoload['libraries'] = array('database');
 
 
 /*
@@ -113,4 +113,4 @@ $autoload['model'] = array();
 
 
 /* End of file autoload.php */
-/* Location: ./application/config/autoload.php */
\ No newline at end of file
+/* Location: ./application/config/autoload.php */