fix line endings
authorStricted <info@stricted.de>
Wed, 23 Dec 2015 19:19:13 +0000 (20:19 +0100)
committerStricted <info@stricted.de>
Wed, 23 Dec 2015 19:19:13 +0000 (20:19 +0100)
config.inc.php.example
lib/system/cache/CacheHandler.class.php

index 178a25f8896b9b622e035facb687a343ca105fcb..1169b315dd06dd217358cd62fca20abe193e41b4 100644 (file)
@@ -1,8 +1,8 @@
-<?php\r
-$driver = "mysql";\r
-$host = "localhost";\r
-$port = 3306;\r
-$user = "";\r
-$pass = "";\r
-$db = "";\r
+<?php
+$driver = "mysql";
+$host = "localhost";
+$port = 3306;
+$user = "";
+$pass = "";
+$db = "";
 $tpl = "default";
\ No newline at end of file
index 88b861a8b80cfe23f485b37436aeb755fb96cadf..002093760a0e23cbcb987dadb3a15f646f0301ff 100644 (file)
@@ -4,7 +4,7 @@ use dns\system\cache\builder\ICacheBuilder;
 use dns\system\cache\source\DiskCacheSource;
 use dns\system\SingletonFactory;
 
-define('CACHE_SOURCE_TYPE', 'disk');
+if (!defined('CACHE_SOURCE_TYPE')) define('CACHE_SOURCE_TYPE', 'disk');
 
 /**
  * Manages transparent cache access.