[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


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');
}




More information about the geeklog-cvs mailing list