Skip to content
Snippets Groups Projects
Commit ce98fd58 authored by llaffont's avatar llaffont
Browse files

URL_REWRITING: correction accès fichiers CKEditor

parent a8b5c78d
Branches
Tags
No related merge requests found
......@@ -305,8 +305,11 @@ function setupFrontController($cfg) {
function setupRoutes($front_controller, $cfg) {
if ('1' == $cfg->get('enable_rewriting'))
$front_controller->setRouter(new ZendAfi_Controller_Router_RewriteWithoutBaseUrl());
if ('1' == $cfg->get('enable_rewriting')) {
$front_controller
->setBaseUrl('')
->setRouter(new ZendAfi_Controller_Router_RewriteWithoutBaseUrl());
}
$front_controller
->getRouter()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment