[geeklog-cvs] Geeklog-1.x/public_html siteconfig.php,1.7,1.8
    Dirk Haun 
    dhaun at qs1489.pair.com
       
    Sun Jan 27 05:53:05 EST 2008
    
        - Previous message (by thread): [geeklog-cvs] Geeklog-1.x/language english.php, 1.323,	1.324 english_utf-8.php, 1.108, 1.109 german.php, 1.182,	1.183 german_formal.php, 1.87, 1.88 german_formal_utf-8.php,	1.40, 1.41 german_utf-8.php, 1.71, 1.72
 
        - Next message (by thread): [geeklog-cvs] Geeklog-1.x db-config.php,1.3,1.4
 
         -  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
 
       
    
  
Update of /cvsroot/geeklog/Geeklog-1.x/public_html
In directory qs1489.pair.com:/tmp/cvs-serv26591/public_html
Modified Files:
	siteconfig.php 
Log Message:
Moved 'site_enabled' flag from the config GUI to siteconfig.php
Index: siteconfig.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/siteconfig.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** siteconfig.php	9 Dec 2007 17:35:10 -0000	1.7
--- siteconfig.php	27 Jan 2008 10:53:03 -0000	1.8
***************
*** 1,6 ****
--- 1,21 ----
  <?php
  
+ /*
+  * Geeklog site configuration
+  *
+  * You should not need to edit this file. See the installation instructions
+  * for details.
+  *
+  */
+ 
+ if (strpos($_SERVER['PHP_SELF'], 'siteconfig.php') !== false) {
+     die('This file can not be used on its own!');
+ }
+ 
  global $_CONF;
  
+ // To disable your site quickly, simply set this flag to false
+ $_CONF['site_enabled'] = true;
+ 
  $_CONF['path'] = '/path/to/Geeklog/';
  $_CONF['path_system'] = $_CONF['path'] . 'system/';
***************
*** 10,21 ****
  $_CONF_FCK['imagelibrary'] = '/images/library';
  
  // Useful Stuff
  global $_STATES;
  
  
! if (!defined ('LB')) {
    define('LB',"\n");
  }
! if (!defined ('VERSION')) {
    define('VERSION', '1.5.0');
  }
--- 25,37 ----
  $_CONF_FCK['imagelibrary'] = '/images/library';
  
+ 
  // Useful Stuff
  global $_STATES;
  
  
! if (!defined('LB')) {
    define('LB',"\n");
  }
! if (!defined('VERSION')) {
    define('VERSION', '1.5.0');
  }
    
    
        
	- Previous message (by thread): [geeklog-cvs] Geeklog-1.x/language english.php, 1.323,	1.324 english_utf-8.php, 1.108, 1.109 german.php, 1.182,	1.183 german_formal.php, 1.87, 1.88 german_formal_utf-8.php,	1.40, 1.41 german_utf-8.php, 1.71, 1.72
 
	- Next message (by thread): [geeklog-cvs] Geeklog-1.x db-config.php,1.3,1.4
 
         -  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
 
       
More information about the geeklog-cvs
mailing list