EFTEC / BladeOne

The standalone version Blade Template Engine without Laravel in a single php file and without dependencies

Home Page:https://www.escuelainformatica.cl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The cache directory is automatically created in v4.6, but not in v4.7 and v4.7.1.

satopian opened this issue · comments

The cache directory is automatically created in v4.6, but not in v4.7 and v4.7.1.

<?php
require_once __DIR__ .'/BladeOne/lib/BladeOne.php';

Use eftec\bladeone\BladeOne;

$views = __DIR__ . '/views';
$cache = __DIR__ . '/cache';
$blade = new BladeOne($views,$cache,BladeOne::MODE_AUTO);
die('test');

I checked with this code.
Is the cache directory auto-generation feature missing in this version?
I'm sorry if I overlooked the update history.