I'm just trying to find a way to get the path to the directory of my view templates using the Zend Framework. Is there a way to do that?
You can use getScriptPaths() function so from a view you could write:
print_r($this->getScriptPaths());
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With