BasePath and BaseUrl in config
Notice: This thread is very old.
- Mariocz
- Member | 52
you should pass these parameters in config
don't see any basepath param. Inicialization of these three params: https://api.nette.org/…tor.php.html#…
services:
-
class: App\Model\ImageStorage
arguments: [%wwwDir%/images/uploads]
- Jan Suchánek
- Member | 404
@kedrigern:
- Model\ExampleModel(@httpRequest::getUrl(), %wwwDir%, %appDir%, …),
or you can add to service complete httpRequest in constructor Nette\Http\Request.
and more in Jak se dostat v presenteru k proměnným wwwDir nebo appDir
Last edited by jenicek (2014-03-29 23:10)