projects
/
zf2.biz
/
galerie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53dbcf2
)
Using getBasePath() instead of getBaseUrl() to detect basePath.
author
Steffen Dietz
<steffo.dietz@googlemail.com>
Thu, 9 Feb 2012 14:33:22 +0000
(15:33 +0100)
committer
Steffen Dietz
<steffo.dietz@googlemail.com>
Thu, 9 Feb 2012 14:33:22 +0000
(15:33 +0100)
module/Application/Module.php
patch
|
blob
|
history
diff --git
a/module/Application/Module.php
b/module/Application/Module.php
index
a798668
..
2b220cd
100644
(file)
--- a/
module/Application/Module.php
+++ b/
module/Application/Module.php
@@
-74,7
+74,7
@@
class Module implements AutoloaderProvider
$view->plugin('url')->setRouter($app->getRouter());
$view->doctype()->setDoctype('HTML5');
- $basePath = $app->getRequest()->getBaseUrl();
+ $basePath = $app->getRequest()->getBasePath();
$view->plugin('basePath')->setBasePath($basePath);
$this->view = $view;