1<?php 2// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project 3// 4// All Rights Reserved. See copyright.txt for details and a complete list of authors. 5// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. 6// $Id$ 7 8$section = 'mytiki'; 9 10require_once('tiki-setup.php'); 11if ($prefs['feature_use_fgal_for_user_files'] == 'y' && $user != '') { 12 $filegallib = TikiLib::lib('filegal'); 13 $idGallery = $filegallib->get_user_file_gallery(); 14 15 // redirect user in correct gallery 16 header('location: tiki-upload_file.php?galleryId=' . $idGallery); 17} 18