No he can't Take a look at : http://zendframework.com/manual/en/zend.view.migration.html so unless he explicitly specify the lfi protection to false the ../../../ method will not work on 1.8 and it's no recommended anyways.
On Thu, May 28, 2009 at 11:11 PM, Colin Guthrie <[email protected]>wrote: > 'Twas brillig, and monk.e.boy at 28/05/09 16:33 did gyre and gimble: > >> Hey, >> >> In my views I use a common pagination style across all my modules like >> this: >> >> <?= $this->paginationControl($this->paginator, 'Sliding', >> '../../../views/scripts/partials/pagination.phtml'); ?> >> >> Changing it to this: >> >> /var/www/ZF-apps/views/scripts/partials/pagination.phtml >> >> does not work - I get a not found in path error. How do I make this >> change? >> How do you guys share a single pagination.phtml across all modules? >> > > While Vadim's solution is the most elegant, you could do the old > dirname(__FILE__).'/../../../views....' trick. > > Col > > -- > > Colin Guthrie > gmane(at)colin.guthr.ie > http://colin.guthr.ie/ > > Day Job: > Tribalogic Limited [http://www.tribalogic.net/] > Open Source: > Mandriva Linux Contributor [http://www.mandriva.com/] > PulseAudio Hacker [http://www.pulseaudio.org/] > Trac Hacker [http://trac.edgewall.org/] > > -- Vincent Gabriel. Lead Developer, Senior Support. Zend Certified Engineer. Zend Framework Certified Engineer. -- http://www.vadimg.co.il/
