{"issue":{"created_at":"2011-11-29T09:31:51Z","state":"open","updated_at":"2011-11-29T09:31:54Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"importer"},"comments":2,"body":"Ich wünsche mir für die nächste Version, dass man am Ende der Domain ein / hinzufügen kann. \n\nÄnderung in der generateFrontendUrl-Funktion in Controller.php:\n\n```\n$strUrl = ($GLOBALS['TL_CONFIG']['rewriteURL'] ? '' : 'index.php/') . (strlen($arrRow['alias']) ? $arrRow['alias'] : $arrRow['id']) . $strParams . $GLOBALS['TL_CONFIG']['urlSuffix'];\n```\n\nzu:\n\n```\n$strUrl = ($GLOBALS['TL_CONFIG']['rewriteURL'] ? '' : 'index.php/') . (strlen($arrRow['alias']) ? $arrRow['alias'] : $arrRow['id']) . $strParams . $GLOBALS['TL_CONFIG']['urlSuffix'] . ($GLOBALS['TL_CONFIG']['addSlash'] ? '/' : '');\n```\n\nUnd dann natürlich in den Einstellungen ein neues Feld hinzufügen: $GLOBALS['TL_CONFIG']['addSlash']\n\nIn der .htaccess-Datei im Root-Verzeichnis sollte auch noch eine \"Weiterleitung\" verfügbar sein, welche\nDOMAIN/variableseite zu DOMAIN/variableseite/ weiterleitet.\n\n--- _Originally created by innovativecreation on July 27th, 2010, at 09:50am (ID 2357)_","assignee":null,"labels":[{"name":"Feature","color":"4183c4","url":"https://api.github.com/repos/contao/test/labels/Feature"},{"name":"frontend","color":"e6e6e6","url":"https://api.github.com/repos/contao/test/labels/frontend"}],"id":2381870,"number":2357,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Am Ende der Domain ein / hinzufügen können","closed_at":null,"html_url":"https://github.com/contao/test/issues/2357","url":"https://api.github.com/repos/contao/test/issues/2357","milestone":null},"action":"opened"}