summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorDarren Hill <dchill42@gmail.com>2011-08-31 14:31:18 +0200
committerDarren Hill <dchill42@gmail.com>2011-08-31 14:31:18 +0200
commitca3be1d515a68293b64704a9a8346802702dedaa (patch)
treeb0c1d78466234a4880efefe6fec20017fcaa4dda /system
parent3bd8d1ad9273f12c47d1ce1f59d4140718a02e4f (diff)
Whitespace cleanup
Diffstat (limited to 'system')
-rwxr-xr-xsystem/core/Loader.php8
-rw-r--r--system/libraries/Driver.php32
2 files changed, 20 insertions, 20 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php
index 51e6b82ca..edf5853f0 100755
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -1177,10 +1177,10 @@ class CI_Loader {
// Autoload drivers
if (isset($autoload['drivers']))
{
- foreach ($autoload['drivers'] as $item)
- {
- $this->driver($item);
- }
+ foreach ($autoload['drivers'] as $item)
+ {
+ $this->driver($item);
+ }
}
// Autoload models
diff --git a/system/libraries/Driver.php b/system/libraries/Driver.php
index c3bcc252e..80c0e2812 100644
--- a/system/libraries/Driver.php
+++ b/system/libraries/Driver.php
@@ -32,29 +32,29 @@ class CI_Driver_Library {
protected $valid_drivers = array();
protected $lib_name;
- /**
- * Get magic method
- *
+ /**
+ * Get magic method
+ *
* The first time a child is used it won't exist, so we instantiate it
* subsequents calls will go straight to the proper child.
- *
- * @param string Child class name
- * @return object Child class
- */
+ *
+ * @param string Child class name
+ * @return object Child class
+ */
public function __get($child)
{
- // Try to load the driver
+ // Try to load the driver
return load_driver($child);
- }
+ }
- /**
- * Load driver
- *
+ /**
+ * Load driver
+ *
* Separate load_driver call to support explicit driver load by library or user
- *
- * @param string Child class name
- * @return object Child class
- */
+ *
+ * @param string Child class name
+ * @return object Child class
+ */
public function load_driver($child)
{
if ( ! isset($this->lib_name))