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

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -