Comments (1)
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
C:\Users\oyunm\Desktop\template_sys\vendor\autoload.php
C:\Users\oyunm\Desktop\template_sys\vendor\composer\autoload_real.php
C:\Users\oyunm\Desktop\template_sys\vendor\composer\platform_check.php
C:\Users\oyunm\Desktop\template_sys\vendor\composer\ClassLoader.php
C:\Users\oyunm\Desktop\template_sys\vendor\composer\autoload_static.php
C:\Users\oyunm\Desktop\template_sys\sitemap-generator.php
C:\Users\oyunm\Desktop\template_sys\vendor\tleckie\template\src\Template.php
C:\Users\oyunm\Desktop\template_sys\vendor\tleckie\template\src\TemplateInterface.php
C:\Users\oyunm\Desktop\template_sys\vendor\tleckie\template\src\Compiler\Path.php
C:\Users\oyunm\Desktop\template_sys\vendor\tleckie\template\src\Compiler\PathInterface.php
C:\Users\oyunm\Desktop\template_sys\vendor\tleckie\template\src\Compiler\Compiler.php
C:\Users\oyunm\Desktop\template_sys\vendor\tleckie\template\src\Compiler\CompilerInterface.php
C:\Users\oyunm\Desktop\template_sys\vendor\tleckie\template\src\Compiler\Parser\Rules.php
C:\Users\oyunm\Desktop\template_sys\vendor\tleckie\template\src\Compiler\Parser\AbstractRules.php
C:\Users\oyunm\Desktop\template_sys\vendor\tleckie\template\src\Compiler\Parser\RulesInterface.php
C:\Users\oyunm\Desktop\template_sys\compiled\template.html.compiled
from template.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from template.