1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

Clear theme meta cache after installation.

This commit is contained in:
Cameron
2017-01-30 07:52:25 -08:00
parent a5087b9bdc
commit 630fd5fb57
4 changed files with 25 additions and 16 deletions

View File

@@ -542,7 +542,7 @@ class db_verify
function renderTableName($tabs)
{
if(substr($tabs,0,4)=="lan_")
if(strpos($tabs,"lan_") === 0)
{
list($tmp,$lang,$table) = explode("_",$tabs,3);
return $table. " (".ucfirst($lang).")";
@@ -776,7 +776,7 @@ class db_verify
foreach($match[1] as $c=>$k)
{
if(strpos($k,'e107_' === 0)) // remove prefix if found in sql dump.
if(strpos($k,'e107_') === 0) // remove prefix if found in sql dump.
{
$k = substr($k, 5);
}