From 69ee0efc0b355c33ec566cffb36c4b0dc429c338 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Tue, 17 Apr 2012 19:31:29 +0200 Subject: remove the require_once lib base from all (or nearly all) files --- apps/gallery/ajax/galleryOp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/gallery/ajax/galleryOp.php') diff --git a/apps/gallery/ajax/galleryOp.php b/apps/gallery/ajax/galleryOp.php index 1b3ad48f561..98cf71ec14f 100644 --- a/apps/gallery/ajax/galleryOp.php +++ b/apps/gallery/ajax/galleryOp.php @@ -22,7 +22,7 @@ */ header('Content-type: text/html; charset=UTF-8') ; -require_once('../../../lib/base.php'); + OC_JSON::checkLoggedIn(); OC_JSON::checkAppEnabled('gallery'); -- cgit v1.2.3