More deprecated php methods

This commit is contained in:
Tony Landis
2009-03-25 22:30:13 -06:00
parent 1225cb10c0
commit 76a81f02fd
6 changed files with 9 additions and 9 deletions

View File

@@ -356,7 +356,7 @@ class db_mapping
$this->construct();
$type = "view";
$this->method["$type"] = split(",", $this->method["$type"]);
$this->method["$type"] = explode(",", $this->method["$type"]);
$db = new CORE_database;
$db->view($VAR, $this, $type);
@@ -624,7 +624,7 @@ class db_mapping
{
if($file_name != '..' && $file_name != '.')
{
$result[$count]['name'] = eregi_replace('.php', '', $file_name);
$result[$count]['name'] = preg_replace('/.php/', '', $file_name);
$result[$count]['id'] = $count;
### Get the status of this plugin: