git-svn-id: file:///home/shish/svn/shimmie2/trunk@656 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-12-11 18:37:11 +00:00
parent a811504a14
commit 5b543e46ca

View File

@ -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";