Вопрос

I`ve found old webpage writen with Smarty2 and I don't understand this. Could you tell me the difference between:

$_Html = new SmartyC(TRUE);
and
$_Html = new Smarty();

I can't find SmartyC() in manual.

Это было полезно?

Решение

Search the whole website project for class SmartyC. I assume, you will find a custom class, which extends the original Smarty class in some way like:

class SmartyC extends Smarty
{
  function _construct($b)
  {
    // do something with $b like
    // if($b)
    // {
    //    $this->caching = true;
    // }
  }
}
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top