mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Cleanup a few small warnings.
This commit is contained in:
parent
0bd3848040
commit
4e929d519c
@ -110,7 +110,7 @@
|
|||||||
elseif(!empty($ConfigLogin) && $auth_type == 'Config')
|
elseif(!empty($ConfigLogin) && $auth_type == 'Config')
|
||||||
{
|
{
|
||||||
/* config login */
|
/* config login */
|
||||||
if($FormPW == $GLOBALS['phpgw_domain'][$FormDomain]['config_passwd'])
|
if($FormPW == @$GLOBALS['phpgw_domain'][$FormDomain]['config_passwd'])
|
||||||
{
|
{
|
||||||
setcookie('ConfigPW',"$FormPW","$expire");
|
setcookie('ConfigPW',"$FormPW","$expire");
|
||||||
setcookie('ConfigDomain',"$FormDomain","$expire");
|
setcookie('ConfigDomain',"$FormDomain","$expire");
|
||||||
@ -215,6 +215,7 @@
|
|||||||
*/
|
*/
|
||||||
function clear_session_cache()
|
function clear_session_cache()
|
||||||
{
|
{
|
||||||
|
$tables = Array();
|
||||||
$tablenames = @$this->db->table_names();
|
$tablenames = @$this->db->table_names();
|
||||||
while(list($key,$val) = @each($tablenames))
|
while(list($key,$val) = @each($tablenames))
|
||||||
{
|
{
|
||||||
|
@ -40,6 +40,7 @@
|
|||||||
|
|
||||||
function get_db_versions($setup_info='')
|
function get_db_versions($setup_info='')
|
||||||
{
|
{
|
||||||
|
$tname = Array();
|
||||||
$GLOBALS['phpgw_setup']->db->Halt_On_Error = 'no';
|
$GLOBALS['phpgw_setup']->db->Halt_On_Error = 'no';
|
||||||
$tables = $GLOBALS['phpgw_setup']->db->table_names();
|
$tables = $GLOBALS['phpgw_setup']->db->table_names();
|
||||||
while(list($key,$val) = @each($tables))
|
while(list($key,$val) = @each($tables))
|
||||||
|
@ -133,8 +133,8 @@
|
|||||||
function login_form()
|
function login_form()
|
||||||
{
|
{
|
||||||
/* begin use TEMPLATE login_main.tpl */
|
/* begin use TEMPLATE login_main.tpl */
|
||||||
$GLOBALS['setup_tpl']->set_var('ConfigLoginMSG',$GLOBALS['phpgw_info']['setup']['ConfigLoginMSG']);
|
$GLOBALS['setup_tpl']->set_var('ConfigLoginMSG',@$GLOBALS['phpgw_info']['setup']['ConfigLoginMSG']);
|
||||||
$GLOBALS['setup_tpl']->set_var('HeaderLoginMSG',$GLOBALS['phpgw_info']['setup']['HeaderLoginMSG']);
|
$GLOBALS['setup_tpl']->set_var('HeaderLoginMSG',@$GLOBALS['phpgw_info']['setup']['HeaderLoginMSG']);
|
||||||
|
|
||||||
if ($GLOBALS['phpgw_info']['setup']['stage']['header'] == '10')
|
if ($GLOBALS['phpgw_info']['setup']['stage']['header'] == '10')
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user