From 3ffe6878f3ca966a1548b77e9903636949c7d210 Mon Sep 17 00:00:00 2001 From: Deon George Date: Mon, 7 Sep 2009 00:13:58 +1000 Subject: [PATCH] Minor updates --- htdocs/cmd.php | 1 + lib/config_default.php | 2 +- lib/page.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/cmd.php b/htdocs/cmd.php index 0c86a7c..8c48808 100644 --- a/htdocs/cmd.php +++ b/htdocs/cmd.php @@ -12,6 +12,7 @@ require_once './common.php'; +$www = array(); $www['cmd'] = get_request('cmd','REQUEST'); $www['meth'] = get_request('meth','REQUEST'); diff --git a/lib/config_default.php b/lib/config_default.php index 8e6bf81..5e1e4d3 100644 --- a/lib/config_default.php +++ b/lib/config_default.php @@ -526,7 +526,7 @@ class Config { 'default'=>true); $this->default->password['no_random_crypt_salt'] = array( - 'descr'=>'Disable random salt for crypt()', + 'desc'=>'Disable random salt for crypt()', 'default'=>false); /** Search display diff --git a/lib/page.php b/lib/page.php index e8f2807..21d130e 100644 --- a/lib/page.php +++ b/lib/page.php @@ -126,7 +126,7 @@ class page { } # HTML head requirements. - if (is_array($this->_head) && count ($this->_head)) + if (is_array($this->_head) && count($this->_head)) foreach ($this->_head as $line) echo $line."\n";