aboutsummaryrefslogtreecommitdiffstats
path: root/upload.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--upload.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/upload.php b/upload.php
index 5e683f4d4..735faa49c 100644
--- a/upload.php
+++ b/upload.php
@@ -213,6 +213,11 @@ if ( isset( $_POST['submit'] ) and !isset( $_GET['waiting_id'] ) )
$query.= ';';
mysql_query( $query );
$page['waiting_id'] = mysql_insert_id();
+ // mail notification for administrators
+ if ( $conf['mail_notification'] )
+ {
+ notify( 'comment' );
+ }
}
}
//------------------------------------------------------------ thumbnail upload