[geeklog-cvs] Geeklog-1.x/public_html/admin/install configinfo.php, 1.5, 1.6
Dirk Haun
dhaun at qs1489.pair.com
Sat May 10 17:03:25 EDT 2008
Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install
In directory qs1489.pair.com:/tmp/cvs-serv99299/public_html/admin/install
Modified Files:
configinfo.php
Log Message:
Removed references to config.php
Index: configinfo.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install/configinfo.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** configinfo.php 6 Sep 2006 05:31:00 -0000 1.5
--- configinfo.php 10 May 2008 21:03:23 -0000 1.6
***************
*** 3,13 ****
/* Reminder: always indent with 4 spaces (no tabs). */
// +---------------------------------------------------------------------------+
! // | Geeklog 1.4 |
// +---------------------------------------------------------------------------+
// | configinfo.php |
// | |
! // | Display contents of config.php |
// +---------------------------------------------------------------------------+
! // | Copyright (C) 2002-2006 by the following authors: |
// | |
// | Authors: Jeffrey Schoolcraft - dream AT dr3amscap3 DOT com |
--- 3,13 ----
/* Reminder: always indent with 4 spaces (no tabs). */
// +---------------------------------------------------------------------------+
! // | Geeklog 1.5 |
// +---------------------------------------------------------------------------+
// | configinfo.php |
// | |
! // | Display current configuration settings |
// +---------------------------------------------------------------------------+
! // | Copyright (C) 2002-2008 by the following authors: |
// | |
// | Authors: Jeffrey Schoolcraft - dream AT dr3amscap3 DOT com |
***************
*** 35,51 ****
/**
* This script will display file and permission information based on settings in
! * config.php This is meant to be as a support tool when asked questions in #geeklog
! *
*
! * @author Jeffrey Schoolcraft <dream at dr3amscap3.com>
*
*/
! if (file_exists ('../../../config.php')) {
! require_once('../../../config.php');
! } else if (file_exists ('../../lib-common.php')) {
! require_once('../../lib-common.php');
} else {
! die ("Sorry, config.php not found ...");
}
--- 35,49 ----
/**
* This script will display file and permission information based on settings in
! * the configuration. This is meant to be used as a support tool when asked
! * questions in #geeklog.
*
! * @author Jeffrey Schoolcraft <dream AT dr3amscap3 DOT com>
*
*/
! if (file_exists('../../lib-common.php')) {
! require_once '../../lib-common.php';
} else {
! die("Sorry, lib-common.php not found ...");
}
***************
*** 53,58 ****
$highlight_off = '#D9D9D9';
! if (isset ($_CONF['site_url']) &&
! strpos ($_CONF['site_url'], 'example.com') === false) {
$docs = $_CONF['site_url'] . '/docs/config.html#desc_';
} else {
--- 51,56 ----
$highlight_off = '#D9D9D9';
! if (isset($_CONF['site_url']) &&
! strpos($_CONF['site_url'], 'example.com') === false) {
$docs = $_CONF['site_url'] . '/docs/config.html#desc_';
} else {
***************
*** 60,65 ****
}
! if (isset ($_CONF['mail_settings']['password'])) {
! unset ($_CONF['mail_settings']['password']);
}
--- 58,63 ----
}
! if (isset($_CONF['mail_settings']['password'])) {
! unset($_CONF['mail_settings']['password']);
}
***************
*** 68,72 ****
$display .= '<table width="100%" cellspacing="0" cellpadding="0" border="0" style="border: thin black solid;">';
! foreach($_CONF as $option => $value) {
$display .= '<tr';
if ($n % 2 == 0) {
--- 66,70 ----
$display .= '<table width="100%" cellspacing="0" cellpadding="0" border="0" style="border: thin black solid;">';
! foreach ($_CONF as $option => $value) {
$display .= '<tr';
if ($n % 2 == 0) {
***************
*** 82,86 ****
$value=nl2br(ob_get_contents());
ob_end_clean();
! } elseif (is_bool ($value)) {
$value = ($value === false) ? 'false' : 'true';
} elseif (eregi('[a-z]+html', $option)) {
--- 80,84 ----
$value=nl2br(ob_get_contents());
ob_end_clean();
! } elseif (is_bool($value)) {
$value = ($value === false) ? 'false' : 'true';
} elseif (eregi('[a-z]+html', $option)) {
***************
*** 96,97 ****
--- 94,97 ----
echo $display;
+
+ ?>
More information about the geeklog-cvs
mailing list