|
From: FlorinCB <ory...@us...> - 2008-09-17 02:48:17
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28310 Modified Files: functions.php functions_pafiledb.php Log Message: fixed this since is not supported now for long time Index: functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions.php,v retrieving revision 1.47 retrieving revision 1.48 diff -C2 -d -r1.47 -r1.48 *** functions.php 15 Jul 2008 22:07:10 -0000 1.47 --- functions.php 17 Sep 2008 09:48:08 -0000 1.48 *************** *** 680,685 **** $path = $url['path']; $port = ( !empty( $url['port'] ) ) ? $url['port'] : 80; ! $fp = @fsockopen( $host, $port, &$errno, &$errstr, 20 ); if ( !$fp ) --- 680,687 ---- $path = $url['path']; $port = ( !empty( $url['port'] ) ) ? $url['port'] : 80; + $errno = ''; + $errstr = ''; ! $fp = @fsockopen( $host, $port, $errno, $errstr, 20 ); if ( !$fp ) Index: functions_pafiledb.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions_pafiledb.php,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -d -r1.55 -r1.56 *** functions_pafiledb.php 3 Jun 2008 20:17:07 -0000 1.55 --- functions_pafiledb.php 17 Sep 2008 09:48:09 -0000 1.56 *************** *** 195,199 **** $cat_nav = array(); ! $this->category_nav( $this->cat_rowset[$cat_id]['cat_parent'], &$cat_nav ); $sql = 'UPDATE ' . PA_CATEGORY_TABLE . " --- 195,199 ---- $cat_nav = array(); ! $this->category_nav( $this->cat_rowset[$cat_id]['cat_parent'], $cat_nav ); $sql = 'UPDATE ' . PA_CATEGORY_TABLE . " *************** *** 230,238 **** * @param unknown_type $cat_nav */ ! function category_nav( $parent_id, &$cat_nav ) { if ( !empty( $this->cat_rowset[$parent_id] ) ) { ! $this->category_nav( $this->cat_rowset[$parent_id]['cat_parent'], &$cat_nav ); $cat_nav[$parent_id] = $this->cat_rowset[$parent_id]['cat_name']; } --- 230,238 ---- * @param unknown_type $cat_nav */ ! function category_nav( $parent_id, $cat_nav ) { if ( !empty( $this->cat_rowset[$parent_id] ) ) { ! $this->category_nav( $this->cat_rowset[$parent_id]['cat_parent'], $cat_nav ); $cat_nav[$parent_id] = $this->cat_rowset[$parent_id]['cat_name']; } *************** *** 455,459 **** { $cat_nav = array(); ! $this->category_nav( $this->cat_rowset[$cat_id]['cat_parent'], &$cat_nav ); $sql = 'UPDATE ' . PA_CATEGORY_TABLE . " --- 455,459 ---- { $cat_nav = array(); ! $this->category_nav( $this->cat_rowset[$cat_id]['cat_parent'], $cat_nav ); $sql = 'UPDATE ' . PA_CATEGORY_TABLE . " |