Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-05-15 17:03:12 +0400
committerJakob Sack <kde@jakobsack.de>2011-05-15 17:03:12 +0400
commitd70dfbdebba6070368d1c8999a311dcfc81dec1d (patch)
treec3dea499e98166a3076b6c3c620dbad3aabf12aa /lib/config.php
parent6b83e5ccfe31a947b758eabadb9865ad898dbbef (diff)
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.php4
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;