diff options
author | z0rglub <z0rglub@piwigo.org> | 2003-09-10 22:24:03 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2003-09-10 22:24:03 +0000 |
commit | 637cdd1e23a6faadfea3988da80ee3648cf8999a (patch) | |
tree | 4b86f1e1ed353fb1f9c5a390b3e98f2396525b1b /upload.php | |
parent | 122ac485f7330a9544504e2355fbdf53124e5702 (diff) |
Mail notification for admins
git-svn-id: http://piwigo.org/svn/trunk@85 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'upload.php')
-rw-r--r-- | upload.php | 5 |
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 |