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

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Is there a way to convert an HTML page styled with Bootstrap CSS into email-compatible html? -