zend framework - How can i get the module name in public/index.php? -
zend framework - How can i get the module name in public/index.php? -
i want name of module adding code in public/index.php. have tried on url:
localhost/folder_name/public/uk
$requested_uri = $_server['request_uri']; i result folder_name/public/uk dont need this. need module name called uk
$this->getresponse() //not working in file any solution?
if want loaded modules descriped in application.config, can this:
$modulemanager = $this->getservicelocator()->get('modulemanager'); $modules = $modulemanager->getloadedmodules(); php zend-framework zend-framework2
Comments
Post a Comment