<?php
/**
* $Project: Pastebin $
* $Id: default.conf.php,v 1.3 2006/04/27 16:19:24 paul Exp $
*
* Pastebin Collaboration Tool
* http://pastebin.com/
*
* This file copyright (C) 2005 Paul Dixon (paul@elphin.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the Affero General Public License
* Version 1 or any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* Affero General Public License for more details.
*
* You should have received a copy of the Affero General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/**
* This is the main configuration file containing typical defaults.
*
* For ease of upgrading, DO NOT MODIFY THIS FILE!
*
* Create an override file with a name matching your domain or element of
* of it. For example for the domain 'banjo.pastebin.com', the code will
* attempt to include these config files in order
*
* default.conf.php
* com.conf.php
* pastebin.com.conf.php
* banjo.pastebin.com.conf.php
*
* The purpose of this to allow you to specific global options lower down,
* say in com.conf.php, but domain-specific overrides in higher up files like
* banjo.pastebin.com.conf.php
*/
/**
* Site title
*/
$CONF['title']='C++';
/**
* Email address feedback should be sent to
*/
$CONF['feedback_to']='noodle@drone.pl';
/**
* Apparent sender address for feedback email
*/
$CONF['feedback_sender']='noodle <noodle@drone.pl>';
/**
* database type - can be file or mysql
*/
$CONF['dbsystem']='file';
/**
* db credentials
*/
$CONF['dbhost']='localhost';
$CONF['dbname']='pastebin';
$CONF['dbuser']='pastebin';
$CONF['dbpass']='banjo';
/**
* format of urls to pastebin entries - %d is the placeholder for
* the entry id.
*
* 1. for shortest possible url generation in conjuction with mod_rewrite:
* $CONF['url_format']='/%s';
*
* 2. if using pastebin with mod_rewrite, but within a subdir, you'd use
* something like this:
* $CONF['url_format']="/mysubdir/%s";
*
* 3. if not using mod_rewrite, you'll need something more like this:
* $CONF['url_format']="/pastebin.php?show=%s";
*/
$CONF['url_format']='/%s';
/**
* default expiry time d (day) m (month) or f (forever)
*/
$CONF['default_expiry']='f';
/**
* this is the path to the script - you may want to
* to use / for even shorter urls if the main script
* is renamed to index.php
*/
$CONF['this_script']='/index.php';
/**
* what's the maximum number of posts we want to keep?
* Set this to 0 to have no limit on retained posts
*/
$CONF['max_posts']=0;
/**
* what's the highlight char?
*/
$CONF['highlight_prefix']='@@';
/**
* how many elements in the base domain name? This is used to determine
* what makes a "private" pastebin, i.e. for pastebin.com there are 2
* elements 'pastebin' and 'com' - for pastebin.mysite.com there 3. Got it?
* Good!
*/
$CONF['base_domain_elements']=2;
/**
* Google Adsense, clear this to remove ads.
*
*/ $CONF['google_ad_client']='pub-3281640380846080';
/**
* maintainer mode enables some code used to aid translation - unless you
* are involved in developing pastebin, leave this as false
*/
$CONF['maintainer_mode']=false;
/**
* default syntax highlighter
*/
$CONF['default_highlighter']='text';
/**
* available formats
*/
$CONF['all_syntax']=array(
'text'=>'None',
'bash'=>'Bash',
'c'=>'C',
'cpp'=>'C++',
'csharp'=>'C#',
'html4strict'=>'HTML',
'java'=>'Java',
'javascript'=>'Javascript',
'mysql'=>'MySQL',
'pascal'=>'Pascal',
'perl'=>'Perl',
'php'=>'PHP',
'sql'=>'SQL',
'tcl'=>'TCL',
'vb'=>'VisualBasic',
);
/**
* popular formats, listed first
*/
$CONF['popular_syntax']=array(
'text','bash', 'c', 'cpp', 'html4strict',
'java','javascript','php','perl' );
?>