[+BUGFIX] Extbase (MVC): Fixed a temporary bug which has been introduced with the...
authorSebastian Kurfürst <sebastian@typo3.org>
Fri, 9 Oct 2009 17:35:17 +0000 (17:35 +0000)
committerSebastian Kurfürst <sebastian@typo3.org>
Fri, 9 Oct 2009 17:35:17 +0000 (17:35 +0000)
typo3/sysext/extbase/Classes/MVC/Web/Request.php

index 88ed8ec..ef5503a 100755 (executable)
@@ -115,7 +115,11 @@ class Tx_Extbase_MVC_Web_Request extends Tx_Extbase_MVC_Request {
         * @api
         */
        public function getBaseURI() {
-               return $this->baseURI;
+               if (TYPO3_MODE === 'BE') {
+                       return $this->baseURI . TYPO3_mainDir;
+               } else {
+                       return $this->baseURI;
+               }
        }
 }
 ?>
\ No newline at end of file