]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix path in /apps/files/js/timezone.php
authorGeorg Ehrke <dev@georgswebsite.de>
Mon, 23 Apr 2012 14:17:35 +0000 (16:17 +0200)
committerGeorg Ehrke <dev@georgswebsite.de>
Mon, 23 Apr 2012 14:17:35 +0000 (16:17 +0200)
apps/files/js/timezone.js

index d569683f2109491fa5c16a0f124aeac26014d793..4749417199d957169de66589408ccb743d9d67ec 100644 (file)
@@ -3,7 +3,7 @@ $(document).ready(function() {
        var visitortimezone = (-new Date().getTimezoneOffset()/60);
        $.ajax({
                type: "GET",
-               url: "ajax/timezone.php",
+               url: OC.filePath('files', 'ajax', 'timezone.php'),
                data: 'time='+ visitortimezone,
                success: function(){
                        location.reload();