better plugins install/update process

This commit is contained in:
Abdulrahman
2019-05-15 00:48:58 +03:00
parent f13d5fda39
commit ec33730e36
7 changed files with 190 additions and 151 deletions

View File

@@ -201,7 +201,7 @@ define('ADMIN_PATH', rtrim($config['siteurl'], '/') . '/admin/index.php');
//no tpl caching in dev stage
if (defined('DEV_STAGE'))
if (defined('DEV_STAGE') || defined('STOP_TPL_CACHE'))
{
$tpl->caching = false;
}