aboutsummaryrefslogtreecommitdiffstats
path: root/include/config.inc.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-05-17 11:42:03 +0000
committerz0rglub <z0rglub@piwigo.org>2003-05-17 11:42:03 +0000
commit2c2af65b6a95e20ba9ca49139683d2d150edb1b6 (patch)
tree89dfe5da914ab688e598666cbd0e2d0d0079688a /include/config.inc.php
parentf96563b9e8ffbc67af2ee5826b8f0c9b33dbb87e (diff)
*** empty log message ***
git-svn-id: http://piwigo.org/svn/trunk@13 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/config.inc.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/config.inc.php b/include/config.inc.php
index f0a348a24..719edf156 100644
--- a/include/config.inc.php
+++ b/include/config.inc.php
@@ -20,10 +20,9 @@ $page = array();
$user = array();
$lang = array();
-include_once( PREFIXE_INCLUDE.'./include/mysql.inc.php' );
include_once( PREFIXE_INCLUDE.'./include/functions.inc.php' );
include_once( PREFIXE_INCLUDE.'./include/vtemplate.class.php' );
-//
+
// How to change the order of display for images in a category ?
//
// You have to modify $conf['order_by'].
@@ -46,6 +45,8 @@ $conf['nb_row_page'] = array ('2','3','4','5','6','7','10','20','1000');
$conf['version'] = '1.3';
$conf['site_url'] = 'http://www.phpwebgallery.net';
$conf['forum_url'] = 'http://forum.phpwebgallery.net';
+$conf['picture_ext'] = array ( 'jpg','JPG','gif','GIF','png','PNG' );
+$conf['document_ext'] = array( 'doc','pdf','zip' );
database_connection();
// rertieving the configuration informations for site
@@ -73,7 +74,7 @@ for ( $i = 0; $i < sizeof( $infos ); $i++ )
}
$query.= $infos[$i];
}
-$query .= ' from '.$prefixeTable.'config;';
+$query .= ' from '.PREFIX_TABLE.'config;';
$row = mysql_fetch_array( mysql_query( $query ) );