mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 07:06:30 +02:00
Regex fixes and path fix for TinyMce.
This commit is contained in:
@@ -2285,7 +2285,7 @@ class e_db_mysql implements e_db
|
||||
$row = $this->fetch('num');
|
||||
$qry = $row[1];
|
||||
// $qry = str_replace($old, $new, $qry);
|
||||
$qry = preg_replace("#CREATE\sTABLE\s`{0,1}".$old."`{0,1}\s#", "CREATE TABLE {$new} ", $qry, 1); // More selective search
|
||||
$qry = preg_replace("#CREATE\sTABLE\s`?".$old."`?\s#", "CREATE TABLE {$new} ", $qry, 1); // More selective search
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user