diff --git a/template/app/controller/Content.js b/template/app/controller/Content.js index 102b41313..6ccdbe74d 100644 --- a/template/app/controller/Content.js +++ b/template/app/controller/Content.js @@ -37,6 +37,6 @@ Ext.define('Docs.controller.Content', { * @return {String} URL */ getBaseUrl: function() { - return document.location.href.replace(/\/?(index.html|template.html)?(\?[^#]*)?#.*/, ""); + return document.location.href.replace(/\/?(index.php|template.html)?(\?[^#]*)?#.*/, ""); } });