From 5b543e46ca8dfe683cf0892a13961476f5e1bef5 Mon Sep 17 00:00:00 2001 From: shish Date: Tue, 11 Dec 2007 18:37:11 +0000 Subject: [PATCH] comment git-svn-id: file:///home/shish/svn/shimmie2/trunk@656 7f39781d-f577-437e-ae19-be835c7a54ca --- core/database.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/database.class.php b/core/database.class.php index 845b07ba..df2fddc3 100644 --- a/core/database.class.php +++ b/core/database.class.php @@ -36,6 +36,10 @@ class Database { var $extensions; var $get_images = "SELECT images.*,UNIX_TIMESTAMP(posted) AS posted_timestamp FROM images "; + /* + * Create a new database object using connection info + * stored in config.php in the root shimmie folder + */ public function Database() { if(is_readable("config.php")) { require_once "config.php";