View Single Post
Old 05-01-2005, 05:46 PM  
DWB
Registered User
 
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
Here is my config file... (i took out my url for this post) Do you see anything woring with it?


<?
/*
Copyright (C) 2004 Tony Bierman

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) 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
GNU General Public License for more details.
You should have received a copy of the GNU 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.
*/

/*
phpgiggle-config.inc.php contains global variables
see README.html for complete documentation
*/

/*
URL to phpGiggle
no trailing slash
e.g. "http://www.domain.com/blog/phpGiggle"

*/
$phpiggle_siteurl = "http://www.domain.com/blog/phpGiggle";
define ('phpgiggle_url', $phpiggle_siteurl.'/');

/*
location of keywords file
*/
define ('phpgiggle_wordsfile',phpGiggle_ABSPATH.'words/phpgiggle.words.txt');

/*
uncomment this line to open phpGiggle links in a new window.
remember to include: <script type="text/javascript" src="http://www.domain.com/blog/phpGiggle/external.js"></script>
between the <head></head> tags of any page using phpGiggle
note: external.js is necessary to open links in new window while remaining XHTML 1.0 compliant
*/
//$href_target="external";
define ('phpgiggle_target','rel="'.$href_target.'"');

/*
Security stuff
*/
global $username,$password;

/*
admin password
set $upass[1] to your own password
*/
$uname[1] = "admin";
$upass[1] = "pass";
$known_as[1] = "administrator";
//additional users can be added
//$uname[2] = "demo";
//$upass[2] = "demo";
//$known_as[2] = "demo";

/*
Clicks counter stuff
*/
$phpgiggle_clicks_file = "clicks_data.txt"; // Name of clicks file, must be located in words/ subfolder
define ('phpgiggle_clicksfile',phpGiggle_ABSPATH.'words/'.$phpgiggle_clicks_file);

/*
Advertising feature stuff
modify includes/phpgiggle-message.inc.php to
show your own ads/message after a link is clicked
*/

$phpgiggle_show_ads = 1; // Set to 0 to not show ads
define ('show_ads',$phpgiggle_show_ads);

// ***** No user definable settings below this line *****
/*
Version
*/
require_once(phpGiggle_ABSPATH.'includes/phpgiggle-version.inc.php');
?>
DWB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote