comment
git-svn-id: file:///home/shish/svn/shimmie2/trunk@656 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
a811504a14
commit
5b543e46ca
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user