summaryrefslogtreecommitdiffstats
path: root/core/js/maintenance-check.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/maintenance-check.js')
-rw-r--r--core/js/maintenance-check.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/maintenance-check.js b/core/js/maintenance-check.js
index 663f7fb5f00..b9d34793a82 100644
--- a/core/js/maintenance-check.js
+++ b/core/js/maintenance-check.js
@@ -3,7 +3,7 @@ window.setInterval(checkStatus, 20000);
function checkStatus() {
var request = new XMLHttpRequest();
- request.open("GET", OC.webroot+'/status.php', true);
+ request.open("GET", OC.getRootPath()+'/status.php', true);
request.onreadystatechange = function() {
if (request.readyState === 4) {
var response = request.responseText;