mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Update start.md
This commit is contained in:
parent
d52aaa57a2
commit
0dfcdfbcf7
@ -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