1
|
<?php/* Written by Gerben Schmidt, http://scripts.zomp.nl */include_once("functions.php");// edit these variables to match your MySQL database settings$dbhost="localhost";$dbname="db_name";$dbuser="db_user";$dbpass="password";connectToDB();/*----------------------------------------------------------------------------*//* Decide below which extra's you want to load, 1=yes 0=no.This is important because it dictates how you can use zomplog.You can change these variables at any time. */// Do you want zomplog to have comments-functionality? 1=yes 0=no$use_comments = 1;// Do you want to use image upload? 1=yes 0=no// If you choose "yes" be sure to CHMOD the "upload"-folder to 777$use_upload = 1;// maximum size for uploads$max_size = 200000;// Do you want to be able to change the date of each post manually?$use_manualdate = 0;/*----------------------------------------------------------------------------*//* Enter the number of entries you want to display per page and the number of pagelinks you want to show at the bottom of each page */// number of entries to display per page$max = "5";// number of pagelinks at one time in the previous/next scroller (the default is fine)$scroll = "5";/*----------------------------------------------------------------------------*//* Some other customisations */// language settings - the name of your language file$language = 'english.php';// skin settings - the name of the folder of your preferred skin (put it in the skins-directory!)$skin = 'plain';// date settings$date = date("m/d/Y");// name of table for db in mysql database (the default is fine)$table = "zomplog_db";// name of table for comments in mysql database (the default is fine)$table_comments = "zomplog_comments";// name of table for user management in mysql database (the default is fine)$table_users = "zomplog_users";// name of table for categories in mysql database (the default is fine)$table_cat = "zomplog_cat";/*----------------------------------------------------------------------------*//* Some information about your site, used for the XML-parser */// The name of your site$sitename = "Zomplog";// Full URL to your zomplog installation$siteurl = "http://www.yoursite.com/zomplog_folder";// Site description$sitedesciption = "Zomplog is a weblog-script, written by Gerben Schmidt";/*----------------------------------------------------------------------------*//* Don't change anything below here */// current zomplog version$version = "2.3";?>
|