From e9231ad8a9994d25ee587d61635a75e8335c3386 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Sat, 2 Dec 2006 11:44:04 +1300 Subject: [PATCH] Remove some E_NOTICE warnings. --- inc/always.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/always.php b/inc/always.php index 89a01780..eed6b717 100644 --- a/inc/always.php +++ b/inc/always.php @@ -49,7 +49,7 @@ $c->protocol_server_port_script = sprintf( "%s://%s%s%s", (isset($_SERVER['HTTPS ), $_SERVER['SCRIPT_NAME'] ); -dbg_error_log( "LOG", "==========> method =%s= =%s= =%s= =%s= =%s=", $_SERVER['REQUEST_METHOD'], $c->protocol_server_port_script, $_SERVER['PATH_INFO'], $c->base_url, $c->base_directory ); +@dbg_error_log( "LOG", "==========> method =%s= =%s= =%s= =%s= =%s=", $_SERVER['REQUEST_METHOD'], $c->protocol_server_port_script, $_SERVER['PATH_INFO'], $c->base_url, $c->base_directory ); init_gettext( 'rscds', '../locale' ); @@ -63,6 +63,7 @@ else { include_once("rscds_configuration_missing.php"); exit; } +if ( !isset($c->page_title) ) $c->page_title = $c->system_name; /** * Now that we have loaded the configuration file we can switch to a