summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/js/js.js7
-rw-r--r--core/routes.php14
2 files changed, 7 insertions, 14 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 39a58a24599..ffe3507a4eb 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -88,7 +88,12 @@ var OC={
}
link+=file;
}else{
- link+='/';
+ if (app == 'settings' && type == 'ajax') {
+ link+='/index.php/';
+ }
+ else {
+ link+='/';
+ }
if(!isCore){
link+='apps/';
}
diff --git a/core/routes.php b/core/routes.php
index 9a84eb64a3b..b0f41dd2861 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -6,19 +6,7 @@
* See the COPYING-README file.
*/
-// Core settings pages
-$this->create('settings_help', '/settings/help')
- ->actionInclude('settings/help.php');
-$this->create('settings_personal', '/settings/personal')
- ->actionInclude('settings/personal.php');
-$this->create('settings_settings', '/settings')
- ->actionInclude('settings/settings.php');
-$this->create('settings_users', '/settings/users')
- ->actionInclude('settings/users.php');
-$this->create('settings_apps', '/settings/apps')
- ->actionInclude('settings/apps.php');
-$this->create('settings_admin', '/settings/admin')
- ->actionInclude('settings/admin.php');
+require_once('settings/routes.php');
// Not specifically routed
$this->create('app_css', '/apps/{app}/{file}')