Remove smarty_prefix config setting
[gitphp.git] / include / cache / Cache.class.php
blob:a/include/cache/Cache.class.php -> blob:b/include/cache/Cache.class.php
--- a/include/cache/Cache.class.php
+++ b/include/cache/Cache.class.php
@@ -280,7 +280,7 @@
 		if ($this->tpl)
 			return;
 
-		require_once(GitPHP_Util::AddSlash(GitPHP_Config::GetInstance()->GetValue('smarty_prefix', 'lib/smarty/libs/')) . 'Smarty.class.php');
+		require_once(GITPHP_SMARTYDIR . 'Smarty.class.php');
 		$this->tpl = new Smarty;
 		$this->tpl->addPluginsDir(GITPHP_INCLUDEDIR . 'smartyplugins');
 

comments