summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/application/config/autoload.php2
-rw-r--r--system/application/config/database.php2
-rw-r--r--system/codeigniter/Common.php3
-rw-r--r--system/libraries/Controller.php2
4 files changed, 4 insertions, 5 deletions
diff --git a/system/application/config/autoload.php b/system/application/config/autoload.php
index 06d8780c4..f3b30a410 100644
--- a/system/application/config/autoload.php
+++ b/system/application/config/autoload.php
@@ -37,7 +37,7 @@
| $autoload['libraries'] = array('database', 'session', 'xmlrpc');
*/
-$autoload['libraries'] = array();
+$autoload['libraries'] = array('database');
/*
diff --git a/system/application/config/database.php b/system/application/config/database.php
index 7a5764d26..b03cb3ab3 100644
--- a/system/application/config/database.php
+++ b/system/application/config/database.php
@@ -34,7 +34,7 @@ $active_group = "default";
$db['default']['hostname'] = "localhost";
$db['default']['username'] = "root";
$db['default']['password'] = "";
-$db['default']['database'] = "ellislab";
+$db['default']['database'] = "test";
$db['default']['dbdriver'] = "mysql";
$db['default']['dbprefix'] = "";
$db['default']['active_r'] = TRUE;
diff --git a/system/codeigniter/Common.php b/system/codeigniter/Common.php
index d2342de42..a801c0821 100644
--- a/system/codeigniter/Common.php
+++ b/system/codeigniter/Common.php
@@ -41,7 +41,7 @@
* @param bool optional flag that lets classes get loaded but not instantiated
* @return object
*/
-function &_load_class($class, $instantiate = TRUE)
+function _load_class($class, $instantiate = TRUE)
{
static $objects = array();
@@ -121,7 +121,6 @@ function &_load_class($class, $instantiate = TRUE)
/**
* Loads the main config.php file
*
-*
* @access private
* @return array
*/
diff --git a/system/libraries/Controller.php b/system/libraries/Controller.php
index 6a3ea9962..2a4c19522 100644
--- a/system/libraries/Controller.php
+++ b/system/libraries/Controller.php
@@ -504,7 +504,7 @@ class Controller extends CI_Base {
$obj =& get_instance();
$obj->db =& $DB;
}
-
+
// --------------------------------------------------------------------
/**