1) Исправления в связи со сменой API MySQL
[openlib.git] / www / config.php
diff --git a/www/config.php b/www/config.php
new file mode 100644 (file)
index 0000000..ba70f9b
--- /dev/null
@@ -0,0 +1,11 @@
+<?php
+/**
+ * COPS (Calibre OPDS PHP Server) class file
+ *
+ * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
+ * @author     Sébastien Lucas <sebastien@slucas.fr>
+ */
+
+    require_once 'config_default.php';
+    if (file_exists('config_local.php'))
+        require_once 'config_local.php';