mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
commit
2ed57c959c
@ -38,7 +38,7 @@ $fenom = Fenom::factory('/path/to/templates', '/path/to/compiled/template', $opt
|
||||
```
|
||||
Пример создания Fenom через оператор `new`:
|
||||
```php
|
||||
$fenom = new Fenom(new Fenom/Provider('/path/to/templates'));
|
||||
$fenom = new Fenom(new Fenom\Provider('/path/to/templates'));
|
||||
$fenom->setCompileDir('/path/to/template/cache');
|
||||
$fenom->setOptions($options);
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user