turn off time outs for bulk upload

git-svn-id: file:///home/shish/svn/shimmie2/trunk@62 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-05-04 23:31:30 +00:00
parent 8c7754040d
commit f41c95b214

View file

@ -6,6 +6,8 @@ class BulkAdd extends Extension {
if(is_a($event, 'PageRequestEvent') && ($event->page == "bulk_add")) {
global $user;
if($user->is_admin() && isset($_POST['dir'])) {
set_time_limit(0);
global $page;
$page->set_title("Adding folder");
$page->set_heading("Adding folder");