-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Check For Null Value in Template File #1
Comments
i solved that but when i trying to render file i see empty screen but i'm trying to include compiled file manual it's can be seen. No any error/warning on console/web page/service. error_reporting(E_ALL);
ini_set('display_errors', 1);
$this->Engine = new Template(__DIR__.DIRECTORY_SEPARATOR."tpl".DIRECTORY_SEPARATOR, __DIR__.DIRECTORY_SEPARATOR.'compiled'.DIRECTORY_SEPARATOR);
$this->Engine->flushCompiled();
$TemplateVariables = array();
$this->Engine->render($PageTemplate,$TemplateVariables);
#foreach(get_included_files() as $incfile){echo $incfile.PHP_EOL."<br>";}
#include(__DIR__.DIRECTORY_SEPARATOR."compiled".DIRECTORY_SEPARATOR.$PageTemplate.".compiled"); Template File; Hi Compiled File; Hi On Include Files List, Look Like it's included. C:\Users\oyunm\Desktop\template_sys\template-engine.php |
How can i check value is null on template file
Like; if(isset($TAG_DATA))
The text was updated successfully, but these errors were encountered: