zend framework3 - basePath not available -


i wonder $this->basepath() from. i'm confronted problem since uploading project productive system.

for example want show picture, in index.phtml have statement:

$this->basepath('img/satellit.jpg') 

everything fine, echoed basepath , right folder: base: /something/public

if same on production system because won't show picture nothing:

base:

so have set basepath somewhere explicit. expected have in case, seems to easy. it's quite simple learn what's difference, server issue or zend one? , how fix it?


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -