fix requires in apps/remoteStorage/ajax/revoke.php

This commit is contained in:
Michiel de Jong 2012-05-09 15:40:39 +02:00
parent 4de182c7af
commit 890c57bad5
1 changed files with 7 additions and 1 deletions

View File

@ -29,9 +29,15 @@
// Do not load FS ... // Do not load FS ...
$RUNTIME_NOSETUPFS = true; $RUNTIME_NOSETUPFS = true;
require_once('../../../lib/base.php');
require_once('../../../lib/user.php');
require_once('../../../lib/public/user.php');
require_once('../../../lib/app.php');
require_once('../../../lib/public/app.php');
OCP\App::checkAppEnabled('remoteStorage'); OCP\App::checkAppEnabled('remoteStorage');
require_once('Sabre/autoload.php');
require_once('../lib_remoteStorage.php'); require_once('../lib_remoteStorage.php');
ini_set('default_charset', 'UTF-8'); ini_set('default_charset', 'UTF-8');