[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS Update: gleipnir
- To: cvs@lists.cleannorth.org
- Subject: CVS Update: gleipnir
- From: Dan Brosemer <odin@cleannorth.org>
- Date: Sun, 17 Aug 2008 12:47:39 -0401 (EDT)
- List-help: <mailto:cvs-request@lists.cleannorth.org?subject=help>
- List-post: <mailto:cvs@lists.cleannorth.org>
- List-subscribe: <mailto:cvs-request@lists.cleannorth.org?subject=subscribe>
- List-unsubscribe: <mailto:cvs-request@lists.cleannorth.org?subject=unsubscribe>
- Resent-date: Sun, 17 Aug 2008 12:47:45 -0401 (EDT)
- Resent-from: cvs@lists.cleannorth.org
- Resent-message-id: <DyzQaC.A.xiG.HZFqIB@skroob.cleannorth.org>
- Resent-sender: cvs-request@lists.cleannorth.org
Log Message:
-----------
Require access galleryupload
Modified Files:
--------------
gleipnir/public_html/gallery:
upload.pl
Revision Data
-------------
Index: upload.pl
===================================================================
RCS file: /cvs/gleipnir/public_html/gallery/upload.pl,v
retrieving revision 1.8
retrieving revision 1.9
diff -Lpublic_html/gallery/upload.pl -Lpublic_html/gallery/upload.pl -u -r1.8 -r1.9
--- public_html/gallery/upload.pl
+++ public_html/gallery/upload.pl
@@ -11,6 +11,13 @@
my $cgi = $gleipnir->cgi;
+unless ($gleipnir->access('galleryupload'))
+ {
+ $gleipnir->url('/auth.pl');
+ print $gleipnir->output;
+ exit;
+ };
+
my $action = $cgi->param('action') || 'none';
if ( $action eq 'upload')
- Prev by Date: CVS Update: svartalfheim.net
- Next by Date: CVS Update: gleipnir
- Previous by thread: CVS Update: gleipnir
- Next by thread: CVS Update: gleipnir
- Index(es):