Cevaplar
-
aldığım hata kodu
Fatal error: Uncaught exception 'SmartyException' with message 'Call of unknown method 'is_cached'.' in F:\AppServ\www\smartY\libs\sysplugins\smarty_internal_templatebase.php:806 Stack trace: #0 [internal function]: Smarty_Internal_TemplateBase->__call('is_cached', Array) #1 F:\AppServ\www\smartY\index.php(28): Smarty->is_cached('deneme2.tpl') #2 {main} thrown in F:\AppServ\www\smartY\libs\sysplugins\smarty_internal_templatebase.php on line 806
index.php'nin 28. satırı
if(!$SMARTY->is_cached("deneme2.tpl")) {-
deja_wu
<?php
$smarty->caching = true;
if(!$smarty->is_cached('index.tpl', 'FrontPage')) {
// do database calls, assign vars here
}
$smarty->display('index.tpl', 'FrontPage');
?>11 yıl önce yazılmış -
sharq
bu yöntemde olmuyor bu isim verme yöntemi mesela siz siteye 3id no ile bğlnıyorsunuz hoşgeldiniz deja_we diyor bn 5id le bğlnyorum hoşgeldin sharq diyor bu isim bunun için diye biliyorum.11 yıl önce yazılmış
-