Here you need to extend this function to your php host. I saved on the host a file with DLE, where the set function is located.
PHP code:
include ("./templates.class.php");
and still it shows:
Fatal error: Call to a member function set() on a non-object in /home/makar3000/html/****/index.php on line 18
PHP code:
$tpl->set( '$login', $PHP_SELF . "?do=login" );
$tpl
variable is a dummy until it is initialized by the class constructor. Because of this error. There must be something like: $ tpl = new ClassName (blah blah blah); $ tpl-> set ('$ login', $ PHP_SELF. "? do = login"); - KiTE 2:41 pm