[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 02:25:06 -0400 (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 02:25:10 -0400 (EDT)
- Resent-from: cvs@lists.cleannorth.org
- Resent-message-id: <lwOJXD.A.lSC.cR8pIB@skroob.cleannorth.org>
- Resent-sender: cvs-request@lists.cleannorth.org
Log Message:
-----------
Do not insert full paths.
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.3
retrieving revision 1.4
diff -Lpublic_html/gallery/upload.pl -Lpublic_html/gallery/upload.pl -u -r1.3 -r1.4
--- public_html/gallery/upload.pl
+++ public_html/gallery/upload.pl
@@ -200,10 +200,7 @@
my $acursor = $dbh->prepare($aSQL);
# Upload the picture info to our database
- $acursor->execute( $id, $hash, $gleipnir->uid, $galleryid,
- $gleipnir->cfetch( dirs => 'thumbdir' )."/$id.png",
- $gleipnir->cfetch( dirs => 'originals' )."/$id.$xtn",
- $gleipnir->cfetch( dirs => 'imagedir' )."/$id.png", $caption, $title );
+ $acursor->execute( $id, $hash, $gleipnir->uid, $galleryid, "$id.png", "$id.$xtn", "$id.png", $caption, $title );
$template->param(message => $message, failed => $fail );
return $gleipnir->body($template->output);
- Prev by Date: CVS Update: svartalfheim.net
- Next by Date: CVS Update: svartalfheim.net
- Previous by thread: CVS Update: gleipnir
- Next by thread: CVS Update: gleipnir
- Index(es):