We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi @onmotion ,
I suggest you include a public variable for the gallery path in the module for more portability.
For example in main config file; ` ...
'gallery' => [ 'class' => 'onmotion\gallery\Module', 'galleryPath' => '@storage/web/img/gallery/', ], ` In the module; ...
public $galleryPath = '@app/web/img/gallery/';
Then replace every instance of @app/web/img/gallery/' in the controller with $this->module->galleryPath
@app/web/img/gallery/'
$this->module->galleryPath
Thanks once again,
Adam
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi @onmotion ,
I suggest you include a public variable for the gallery path in the module for more portability.
For example in main config file;
`
...
'gallery' =>
[
'class' => 'onmotion\gallery\Module',
'galleryPath' => '@storage/web/img/gallery/',
],
`
In the module;
...
public $galleryPath = '@app/web/img/gallery/';
Then replace every instance of
@app/web/img/gallery/'
in the controller with$this->module->galleryPath
Thanks once again,
Adam
The text was updated successfully, but these errors were encountered: