summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Turner <ukgrad89@users.sourceforge.net>2009-10-20 18:01:48 +0000
committerJohn Turner <ukgrad89@users.sourceforge.net>2009-10-20 18:01:48 +0000
commit4a67acf6f01371e71bf2a03cf6ec62570759a6cf (patch)
tree795033d4c4dc85b5f6c31fa38bc3f2b484b4d10d
parent591ca1b09196ccaee053cd98f55506e5a515fe5f (diff)
downloadliberty-4a67acf6f01371e71bf2a03cf6ec62570759a6cf.tar.gz
liberty-4a67acf6f01371e71bf2a03cf6ec62570759a6cf.tar.bz2
liberty-4a67acf6f01371e71bf2a03cf6ec62570759a6cf.zip
Fixes for Deprecated features in PHP 5.3.x (ereg and split)
-rwxr-xr-xLibertySystem.php4
-rw-r--r--edit_storage_inc.php6
2 files changed, 5 insertions, 5 deletions
diff --git a/LibertySystem.php b/LibertySystem.php
index fa0cb1b..70cd3bb 100755
--- a/LibertySystem.php
+++ b/LibertySystem.php
@@ -3,7 +3,7 @@
* System class for handling the liberty package
*
* @package liberty
-* @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertySystem.php,v 1.122 2009/10/01 14:17:01 wjames5 Exp $
+* @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertySystem.php,v 1.123 2009/10/20 18:01:48 ukgrad89 Exp $
* @author spider <spider@steelsun.com>
*/
@@ -714,7 +714,7 @@ class LibertySystem extends LibertyBase {
*/
function getMimeThumbnailURL($pMimeType, $pExt=NULL) {
$ret = NULL;
- $parts = split( '/',$pMimeType );
+ $parts = explode( '/',$pMimeType );
if( count( $parts ) > 1 ) {
global $gBitSmarty;
require_once $gBitSmarty->_get_plugin_filepath( 'function','biticon' );
diff --git a/edit_storage_inc.php b/edit_storage_inc.php
index b14ae58..2bbede3 100644
--- a/edit_storage_inc.php
+++ b/edit_storage_inc.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_liberty/edit_storage_inc.php,v 1.38 2009/04/01 14:32:19 tekimaki_admin Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_liberty/edit_storage_inc.php,v 1.39 2009/10/20 18:01:48 ukgrad89 Exp $
*
* edit_storage_inc
* @author spider <spider@steelsun.com>
@@ -15,10 +15,10 @@ foreach( $gLibertySystem->getPluginFunctions( 'upload_function' ) as $guid => $f
}
// set up base arguments
-$getArgs = split( '&', $_SERVER['QUERY_STRING'] );
+$getArgs = explode( '&', $_SERVER['QUERY_STRING'] );
$attachmentBaseArgs = '';
foreach( $getArgs as $arg ) {
- $parts = split( '=', $arg );
+ $parts = explode( '=', $arg );
if( $parts[0] != 'deleteAttachment' ) {
$attachmentBaseArgs .= $arg."&amp;";
}