mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Update doc
This commit is contained in:
parent
9ed8e987b9
commit
f4bc88a97d
@ -3,7 +3,7 @@
|
||||
"type": "library",
|
||||
"description": "Aspect - fast template engine for PHP",
|
||||
"homepage": "https://github.com/bzick/aspect",
|
||||
"keywords": ["aspect", "templater", "templating", "template"],
|
||||
"keywords": ["aspect", "template", "templating"],
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
|
@ -22,6 +22,7 @@ Conversation about [modifiers](./syntax.md#modifiers)
|
||||
* [escape](./mods/escape.md) aka `e`, `url`
|
||||
* [unescape](./mods/unescape.md)
|
||||
* [strip](./mods/strip.md)
|
||||
* [length](./mods/lenght.md)
|
||||
* allowed functions: `json_encode`, `json_decode`, `count`, `is_string`, `is_array`, `is_numeric`, `is_int`, `is_object`,
|
||||
`strtotime`, `gettype`, `is_double`, `ip2long`, `long2ip`, `strip_tags`, `nl2br`
|
||||
|
||||
@ -40,6 +41,8 @@ Conversation about [tags](./syntax.md#tags)
|
||||
* [capture](./tags/capture.md)
|
||||
* [filter](./tags/filter.md)
|
||||
* [ignore](./tags/ignore.md)
|
||||
* [macros](./tags/macros.md)
|
||||
* [import](./tags/import.md)
|
||||
|
||||
**Extends**
|
||||
|
||||
|
@ -43,8 +43,9 @@ class Misc {
|
||||
foreach($iterator as $file) {
|
||||
/* @var \splFileInfo $file*/
|
||||
if($file->isFile()) {
|
||||
if(strpos($file->getBasename(), ",") !== 0)
|
||||
if(strpos($file->getBasename(), ",") !== 0) {
|
||||
unlink($file->getRealPath());
|
||||
}
|
||||
} elseif($file->isDir()) {
|
||||
rmdir($file->getRealPath());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user