Skip to content

Commit

Permalink
Fixed issue: Error with templates when upgrading from version 1.90
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed May 14, 2014
1 parent a3fd04b commit 863a79b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion application/helpers/update/updatedb_helper.php
Expand Up @@ -1836,7 +1836,8 @@ function upgradeTables143()
modifyDatabase("",$updatequery); echo $modifyoutput; flush();@ob_flush();

// Now move all non-standard templates to the /upload dir
global $usertemplaterootdir, $standardtemplates,$standardtemplaterootdir;
$usertemplaterootdir=Yii::app()->getConfig("usertemplaterootdir");
$standardtemplaterootdir = Yii::app()->getConfig('standardtemplaterootdir');

if (!$usertemplaterootdir) {die("getTemplateList() no template directory");}
if ($handle = opendir($standardtemplaterootdir))
Expand Down

0 comments on commit 863a79b

Please sign in to comment.