Binary files confixx-original/confixx-install/CPAN/Updater-1.0.11.tgz and CPAN/Updater-1.0.11.tgz differ diff -Nur confixx-original/confixx-install/html/admin/allgemein_start.php html/admin/allgemein_start.php --- confixx-original/confixx-install/html/admin/allgemein_start.php 2011-11-17 15:06:20.000000000 +0100 +++ html/admin/allgemein_start.php 2012-09-03 01:15:45.000000000 +0200 @@ -18,7 +18,6 @@ include_once( '../include/elements/data/class.TableView.php' ); include_once( '../include/cron_functions.php' ); include_once( '../include/class.Traffic.php' ); - global $DEBUG; //$DEBUG=1; diff -Nur confixx-original/confixx-install/html/admin/auth.php html/admin/auth.php --- confixx-original/confixx-install/html/admin/auth.php 2011-11-17 15:06:20.000000000 +0100 +++ html/admin/auth.php 2012-09-03 01:15:54.000000000 +0200 @@ -148,7 +148,7 @@ } ## set language -if( session_is_registered('_del_settings') && +if( isset($_SESSION['_del_settings']) && array_key_exists( $ServerID, $_SESSION['_del_settings'] ) && array_key_exists( $PHP_AUTH_USER, $_SESSION['_del_settings'][$ServerID] ) ){ $shortlang = $_SESSION['_del_settings'][$ServerID][$PHP_AUTH_USER]['shortlang']; diff -Nur confixx-original/confixx-install/html/admin/resredirect.php html/admin/resredirect.php --- confixx-original/confixx-install/html/admin/resredirect.php 2011-11-17 15:06:20.000000000 +0100 +++ html/admin/resredirect.php 2012-09-03 01:16:06.000000000 +0200 @@ -25,8 +25,7 @@ $redir = '../user/' . $_GET['reseller'] . '/'; } - if( ! session_is_registered( '_del_settings' ) ){ - session_register( '_del_settings' ); + if( ! isset( $_SESSION['_del_settings'] ) ){ $_SESSION['_del_settings'] = array(); } if( ! array_key_exists( $ServerID, $_SESSION['_del_settings'] ) ){ diff -Nur confixx-original/confixx-install/html/events.inc.php html/events.inc.php --- confixx-original/confixx-install/html/events.inc.php 2011-11-17 15:06:20.000000000 +0100 +++ html/events.inc.php 2012-09-03 01:17:12.000000000 +0200 @@ -1,8 +1,3 @@ diff -Nur confixx-original/confixx-install/html/ftplogin/ftp_functions.php html/ftplogin/ftp_functions.php --- confixx-original/confixx-install/html/ftplogin/ftp_functions.php 2011-11-17 15:06:19.000000000 +0100 +++ html/ftplogin/ftp_functions.php 2012-09-03 01:16:30.000000000 +0200 @@ -203,9 +203,9 @@ function setPath($path) { global $PHP_AUTH_USER; - if(!session_is_registered('ftp_path')) + if(!isset($_SESSION['ftp_path'])) { - session_register('ftp_path'); + $_SESSION['ftp_path']=""; } $_SESSION['ftp_path'][$PHP_AUTH_USER] = $path; } diff -Nur confixx-original/confixx-install/html/ftplogin/ftp_index.php html/ftplogin/ftp_index.php --- confixx-original/confixx-install/html/ftplogin/ftp_index.php 2011-11-17 15:06:19.000000000 +0100 +++ html/ftplogin/ftp_index.php 2012-09-03 01:17:38.000000000 +0200 @@ -230,8 +230,8 @@ if( $path == '' ){ $path = '/'; } - if( ! session_is_registered( 'ftp_path' ) ){ - session_register( 'ftp_path' ); + if( ! isset( $_SESSION['ftp_path'] ) ){ + $_SESSION['ftp_path']=""; } $_SESSION['ftp_path'][$PHP_AUTH_USER] = $path; } diff -Nur confixx-original/confixx-install/html/include/class.Actor.php html/include/class.Actor.php --- confixx-original/confixx-install/html/include/class.Actor.php 2011-11-17 15:06:19.000000000 +0100 +++ html/include/class.Actor.php 2013-05-06 23:10:54.000000000 +0200 @@ -102,7 +102,7 @@ function CallOnServices ( $ps_Method ) { $la_Arguments = func_get_args(); - array_unshift ( $la_Arguments, &$this->ma_Services ); + array_unshift ( $la_Arguments, $this->ma_Services ); call_user_func_array ( array( &$this, "CallOnColumns" ), $la_Arguments ); } /* -------------------- end services & limits -------------------- */ @@ -171,4 +171,4 @@ } -?> \ No newline at end of file +?> diff -Nur confixx-original/confixx-install/html/include/class.Data.php html/include/class.Data.php --- confixx-original/confixx-install/html/include/class.Data.php 2011-11-17 15:06:19.000000000 +0100 +++ html/include/class.Data.php 2013-05-06 23:11:42.000000000 +0200 @@ -248,7 +248,7 @@ { $row =& new _DataRow($arr); - return $this->addRow(&$row); + return $this->addRow($row); } return false; } diff -Nur confixx-original/confixx-install/html/include/class.Mysql.php html/include/class.Mysql.php --- confixx-original/confixx-install/html/include/class.Mysql.php 2011-11-17 15:06:19.000000000 +0100 +++ html/include/class.Mysql.php 2012-09-03 01:20:30.000000000 +0200 @@ -44,7 +44,7 @@ if( $res = mysql_query( $query, $this->handle )){ $this->quc++; - $qc =& new $this->query_class( $res ); + $qc = new $this->query_class( $res ); } else { $this->errno = mysql_errno(); $this->errstr = mysql_error(); diff -Nur confixx-original/confixx-install/html/include/class.Pager.php html/include/class.Pager.php --- confixx-original/confixx-install/html/include/class.Pager.php 2011-11-17 15:06:19.000000000 +0100 +++ html/include/class.Pager.php 2013-05-06 23:16:43.000000000 +0200 @@ -107,8 +107,8 @@ /* -------------------- Initialize -------------------- */ function Initialize ( &$po_Source ) { - $po_Source->SetItemsPerPage ( get_class(&$this) ); - $po_Source->SetSort ( get_class(&$this) ); + $po_Source->SetItemsPerPage ( get_class($this) ); + $po_Source->SetSort ( get_class($this) ); $this->ma_ItemsPerPage = array( 5, 10, 20, 50, 100 ); $this->mo_Source =& $po_Source; @@ -396,7 +396,7 @@ } elseif ( is_object($lm_Error) ) { - $lm_Error->AddErrors ( &$this ); + $lm_Error->AddErrors ( $this ); $this->ShowAddError(); exit; } @@ -419,7 +419,7 @@ } elseif ( is_object($lm_Error) ) { - $lm_Error->AddErrors ( &$this ); + $lm_Error->AddErrors ( $this ); // todo: need better processing } elseif ( $this->IsEditPage() ) @@ -948,7 +948,7 @@ $lo_Data->AppendFields( $lo_Checkbox ); } $lo_Data->SetTotal( $lo_Source->TotalElements( $this->ma_SearchColumns ) ); - $lo_Data->SetCookiePrefix( get_class(&$this) ); + $lo_Data->SetCookiePrefix( get_class($this) ); $lo_Data->SetDefault(); $lo_Data->AppendHidden( new TextDataField( "Y", "ListEdit" ) ); for( $i=0; $i < count( $this->ma_HiddenFields ); $i++ ) diff -Nur confixx-original/confixx-install/html/include/class.PathBar.php html/include/class.PathBar.php --- confixx-original/confixx-install/html/include/class.PathBar.php 2011-11-17 15:06:19.000000000 +0100 +++ html/include/class.PathBar.php 2012-09-03 01:20:22.000000000 +0200 @@ -445,4 +445,4 @@ } } -?> \ No newline at end of file +?> diff -Nur confixx-original/confixx-install/html/include/elements/data/class.TableView.php html/include/elements/data/class.TableView.php --- confixx-original/confixx-install/html/include/elements/data/class.TableView.php 2011-11-17 15:06:19.000000000 +0100 +++ html/include/elements/data/class.TableView.php 2012-09-03 01:19:42.000000000 +0200 @@ -69,7 +69,7 @@ if( !is_null( $poTitle ) ) { $laArgs = func_get_args(); - call_user_func_array( array(&$this,'setTitle'), &$laArgs ); + call_user_func_array( array(&$this,'setTitle'), func_get_args() ); } return $this->moTitle; } @@ -438,4 +438,4 @@ } } -?> \ No newline at end of file +?> diff -Nur confixx-original/confixx-install/html/include/pagers/class.MenuBlocksPager.php html/include/pagers/class.MenuBlocksPager.php --- confixx-original/confixx-install/html/include/pagers/class.MenuBlocksPager.php 2011-11-17 15:06:19.000000000 +0100 +++ html/include/pagers/class.MenuBlocksPager.php 2013-05-06 23:15:14.000000000 +0200 @@ -70,8 +70,8 @@ $this->ms_ItemsPerPage = intval(ff_GetFromPostGet ("ItemsPerPage")); elseif( ff_GetFromPostGet("step") ) $this->ms_ItemsPerPage = intval( ff_GetFromPostGet("step") ); - elseif ( array_key_exists( get_class(&$this)."_ItemsPerPage", $_COOKIE ) ) - $this->ms_ItemsPerPage = intval($_COOKIE[get_class(&$this)."_ItemsPerPage"]); + elseif ( array_key_exists( get_class($this)."_ItemsPerPage", $_COOKIE ) ) + $this->ms_ItemsPerPage = intval($_COOKIE[get_class($this)."_ItemsPerPage"]); else $this->ms_ItemsPerPage = 10; $this->ms_StartItem = $this->ms_PageNumber*$this->ms_ItemsPerPage; diff -Nur confixx-original/confixx-install/html/login.php html/login.php --- confixx-original/confixx-install/html/login.php 2011-11-17 15:06:14.000000000 +0100 +++ html/login.php 2012-09-03 01:20:03.000000000 +0200 @@ -157,7 +157,7 @@ case USERTYPE_USER: if( array_key_exists( '_cat', $_POST ) && $_POST['_cat'] == 'ftp' ){ - if( session_is_registered( 'ftp_path' ) && + if( isset( $_SESSION['ftp_path'] ) && array_key_exists( $account_info['login'], $_SESSION['ftp_path'] ) @@ -174,7 +174,7 @@ break; case USERTYPE_FTPUSER: - if(session_is_registered('ftp_path') && + if(isset($_SESSION['ftp_path']) && array_key_exists($account_info['login'], $_SESSION['ftp_path'])){ unset($_SESSION['ftp_path'][$account_info['login']]); } diff -Nur confixx-original/confixx-install/html/master/adminredirect.php html/master/adminredirect.php --- confixx-original/confixx-install/html/master/adminredirect.php 2011-11-17 15:06:19.000000000 +0100 +++ html/master/adminredirect.php 2012-09-03 01:19:08.000000000 +0200 @@ -55,8 +55,7 @@ - if( ! session_is_registered( '_del_settings' ) ){ - session_register( '_del_settings' ); + if( ! isset( $_SESSION['_del_settings'] ) ){ $_SESSION['_del_settings'] = array(); } if( ! array_key_exists( $ServerID, $_SESSION['_del_settings'] ) ){ @@ -78,4 +77,4 @@ header('Location: ' . $redir); -?> \ No newline at end of file +?> diff -Nur confixx-original/confixx-install/html/reg/auth.php html/reg/auth.php --- confixx-original/confixx-install/html/reg/auth.php 2011-11-17 15:06:19.000000000 +0100 +++ html/reg/auth.php 2012-09-03 01:18:41.000000000 +0200 @@ -115,7 +115,7 @@ ## set language ## set language -if( session_is_registered('_del_settings') && +if( isset($_SESSION['_del_settings']) && array_key_exists( $ServerID, $_SESSION['_del_settings'] ) && array_key_exists( $PHP_AUTH_USER, $_SESSION['_del_settings'][$ServerID] ) ){ $shortlang = $_SESSION['_del_settings'][$ServerID][$PHP_AUTH_USER]['shortlang']; diff -Nur confixx-original/confixx-install/html/reseller/auth.php html/reseller/auth.php --- confixx-original/confixx-install/html/reseller/auth.php 2011-11-17 15:06:14.000000000 +0100 +++ html/reseller/auth.php 2012-09-03 01:18:27.000000000 +0200 @@ -115,7 +115,7 @@ $confixx_interface_version = 'powp'; $shortlang = 'en'; -if( session_is_registered('_del_settings') && +if( isset($_SESSION['_del_settings']) && array_key_exists( $ServerID, $_SESSION['_del_settings'] ) && array_key_exists( $PHP_AUTH_USER, $_SESSION['_del_settings'][$ServerID] ) ){ $shortlang = $_SESSION['_del_settings'][$ServerID][$PHP_AUTH_USER]['shortlang']; diff -Nur confixx-original/confixx-install/html/reseller/userredirect.php html/reseller/userredirect.php --- confixx-original/confixx-install/html/reseller/userredirect.php 2011-11-17 15:06:14.000000000 +0100 +++ html/reseller/userredirect.php 2012-09-03 01:18:32.000000000 +0200 @@ -39,8 +39,7 @@ $PHP_AUTH_USER ); $redir = '/user/' . $user . '/'; } - if( ! session_is_registered('_del_settings' ) ) { - session_register('_del_settings'); + if( ! isset($_SESSION['_del_settings'] ) ) { $_SESSION['_del_settings'] = array(); } if( ! array_key_exists( $ServerID, $_SESSION['_del_settings'] ) ){ diff -Nur confixx-original/confixx-install/html/sessions.inc.php html/sessions.inc.php --- confixx-original/confixx-install/html/sessions.inc.php 2011-11-17 15:06:19.000000000 +0100 +++ html/sessions.inc.php 2012-09-03 01:18:06.000000000 +0200 @@ -38,19 +38,15 @@ session_start(); - if( ! session_is_registered( '_error' ) ){ - session_register( '_error' ); + if( ! isset( $_SESSION['_error'] ) ){ $_SESSION['_error'] = false; - session_register( '_error_args' ); $_SESSION['_error_args'] = false; } - if( ! session_is_registered( '_expired' ) ){ - session_register( '_expired' ); + if( ! isset( $_SESSION['_expired'] ) ){ $_SESSION['_expired'] = false; } - if( ! session_is_registered( '_login_url' ) ){ - session_register( '_login_url' ); + if( ! isset( $_SESSION['_login_url'] ) ){ $_SESSION['_login_url'] = null; } @@ -336,11 +332,11 @@ function addSUser($user, $pass, $type, $pcComeFrom = '' ){/*{{{*/ global $ServerID; - if( ! session_is_registered( '_users' ) ){ - session_register( '_users' ); + if( ! isset( $_SESSION['_users'] ) ){ + $_SESSION['_users']=""; } - if( ! session_is_registered( '_server_id' ) ){ - session_register( '_server_id' ); + if( ! isset( $_SESSION['_server_id'] ) ){ + $_SESSION['_server_id']=""; } $_SESSION['_server_id'] = $ServerID; diff -Nur confixx-original/confixx-install/html/user/auth.php html/user/auth.php --- confixx-original/confixx-install/html/user/auth.php 2011-11-17 15:06:14.000000000 +0100 +++ html/user/auth.php 2012-09-03 01:17:55.000000000 +0200 @@ -143,7 +143,7 @@ $confixx_interface_version = 'xp30'; ## set language -if( session_is_registered( '_del_settings' ) && +if( isset( $_SESSION['_del_settings'] ) && array_key_exists( $ServerID, $_SESSION['_del_settings'] ) && array_key_exists( $PHP_AUTH_USER, $_SESSION['_del_settings'][$ServerID] ) ){