pedro_morgan
2007-08-17 476e56c6b8d5fb8999a6008ab3559710101999fa
Trying to silence e_NOTICE warnings
2 files modified
24 ■■■■■ changed files
interface/lib/classes/tpl_ini.inc.php 4 ●●●● patch | view | raw | blame | history
interface/lib/config.inc.php 20 ●●●●● patch | view | raw | blame | history
interface/lib/classes/tpl_ini.inc.php
@@ -85,8 +85,8 @@
                        /* the following are only used by the vlibTemplateCache class. */
                        'CACHE_DIRECTORY' => $conf["template"]["cache_dir"],
                        // TODO: triggers a notice as its not set
                        'CACHE_DIRECTORY' => $conf['template']['cache_dir'],
                                                                   // Directory where the cached filesystem
                                                                   // will be set up (full path, and must be writable)
                                                                   // '/' or '\' off the end of the directory.
interface/lib/config.inc.php
@@ -27,21 +27,17 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
Header("Pragma: no-cache");
Header("Cache-Control: no-store, no-cache, max-age=0, must-revalidate");
Header("Content-Type: text/html");
ini_set('register_globals',0);
$conf["app_title"] = "ISPConfig";
$conf["app_version"] = "3.0.0";
$conf["modules_available"]     = "admin,mail,sites,monitor,client,dns";
Header('Pragma: no-cache');
Header('Cache-Control: no-store, no-cache, max-age=0, must-revalidate');
Header('Content-Type: text/html');
/*
        Database Settings
*/
//** Key paramaters
$conf['app_title'] = 'ISPConfig';
$conf['app_version'] = '3.0.0';
$conf['modules_available']     = 'admin,mail,sites,monitor,client,dns';
//** Database Settings
$conf["db_type"]            = 'mysql';
$conf["db_host"]            = 'localhost';
$conf["db_database"]        = 'ispconfig3';