[geeklog-cvs] Geeklog-1.x db-config.php,1.3,1.4

Dirk Haun dhaun at qs1489.pair.com
Sun Jan 27 05:53:05 EST 2008


Update of /cvsroot/geeklog/Geeklog-1.x
In directory qs1489.pair.com:/tmp/cvs-serv26591

Modified Files:
	db-config.php 
Log Message:
Moved 'site_enabled' flag from the config GUI to siteconfig.php


Index: db-config.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/db-config.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** db-config.php	6 Jan 2008 09:56:37 -0000	1.3
--- db-config.php	27 Jan 2008 10:53:03 -0000	1.4
***************
*** 1,4 ****
--- 1,16 ----
  <?php
  
+ /*
+  * Geeklog database configuration
+  *
+  * You should not need to edit this file. See the installation instructions
+  * for details.
+  *
+  */
+ 
+ if (strpos($_SERVER['PHP_SELF'], 'db-config.php') !== false) {
+     die('This file can not be used on its own!');
+ }
+ 
  global $_DB_host, $_DB_name, $_DB_user, $_DB_pass, $_DB_table_prefix, $_DB_dbms;
  




More information about the geeklog-cvs mailing list