diff options
author | Jakob Sack <kde@jakobsack.de> | 2011-05-15 15:03:12 +0200 |
---|---|---|
committer | Jakob Sack <kde@jakobsack.de> | 2011-05-15 15:03:12 +0200 |
commit | d70dfbdebba6070368d1c8999a311dcfc81dec1d (patch) | |
tree | c3dea499e98166a3076b6c3c620dbad3aabf12aa /lib/config.php | |
parent | 6b83e5ccfe31a947b758eabadb9865ad898dbbef (diff) | |
download | nextcloud-server-d70dfbdebba6070368d1c8999a311dcfc81dec1d.tar.gz nextcloud-server-d70dfbdebba6070368d1c8999a311dcfc81dec1d.zip |
Renamed a few columns in order t ohave both sqlite and mysql up and running
Diffstat (limited to 'lib/config.php')
-rw-r--r-- | lib/config.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/config.php b/lib/config.php index 2660f43cad7..6af9fcbe5ad 100644 --- a/lib/config.php +++ b/lib/config.php @@ -139,7 +139,9 @@ class OC_CONFIG{ // Include the file, save the data from $CONFIG include( "$SERVERROOT/config/config.php" ); - self::$cache = $CONFIG; + if( isset( $CONFIG ) || is_array( $CONFIG )){ + self::$cache = $CONFIG; + } // We cached everything self::$init = true; |