Just looked at the init.inc.php file
Looks ok when I open the original but then when I remove the // on the PHPBB line then save it the lines all jumble up and not as alligned as when first opened.
Looks like this now :
<?php// ------------------------------------------------------------------------- //// Coppermine Photo Gallery 1.3.2 //// ------------------------------------------------------------------------- //// Copyright (C) 2002-2004 Gregory DEMAR ////
http://www.chezgreg.net/coppermine/ //// ------------------------------------------------------------------------- //// Updated by the Coppermine Dev Team //// (
http://coppermine.sf.net/team/) //// see /docs/credits.html for details //// ------------------------------------------------------------------------- //// 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. //// ------------------------------------------------------------------------- //// CVS version: $Id: init.inc.php,v 1.10 2004/08/10 15:24:47 nibbler999 Exp $// ------------------------------------------------------------------------- //define('COPPERMINE_VERSION', '1.3.2');// User database integration// Uncomment the applicable line if you want to use itdefine('UDB_INTEGRATION', 'phpbb');// define('UDB_INTEGRATION', 'invisionboard');// define('UDB_INTEGRATION', 'vbulletin23');// define('UDB_INTEGRATION', 'vbulletin30');// define('UDB_INTEGRATION', 'yabbse');// define('UDB_INTEGRATION', 'smf');// define('UDB_INTEGRATION', 'woltlab21');// define('UDB_INTEGRATION', 'punbb');if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');// Start output bufferingob_start();// Report all errors except E_NOTICE// This is the default value set in php.ini// error_reporting (E_ALL ^ E_NOTICE);error_reporting(E_ALL);set_magic_quotes_runtime(0);// used for timing purpose$query_stats = array();$queries = array();// Perform database queries to calculate user's privileges based on group membershipfunction cpgGetUserData($pri_group, $groups, $default_group_id = 3){ //Parameters : // $pri_group (scalar) : Group ID number of the user's 'main' group. This is the group that will be // the user's profile display. ($USER_DATA['group_id']) // // $groups (array) : List of group ids of all the groups that the user is a member of. IF this list // does not include the $pri_group, it will be added. // // $default_group_id (scalar) : The group used as a fall-back if no valid group ids are specified. // If this group also does not exist then CPG will abort with a critical //
Instead of this :
<?php
// ------------------------------------------------------------------------- //
// Coppermine Photo Gallery 1.3.2 //
// ------------------------------------------------------------------------- //
// Copyright (C) 2002-2004 Gregory DEMAR //
//
http://www.chezgreg.net/coppermine/ //
// ------------------------------------------------------------------------- //
// Updated by the Coppermine Dev Team //
// (
http://coppermine.sf.net/team/) //
// see /docs/credits.html for details //
// ------------------------------------------------------------------------- //
// 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. //
// ------------------------------------------------------------------------- //
// CVS version: $Id: init.inc.php,v 1.10 2004/08/10 15:24:47 nibbler999 Exp $
// ------------------------------------------------------------------------- //
define('COPPERMINE_VERSION', '1.3.2');
// User database integration
// Uncomment the applicable line if you want to use it
// define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
// define('UDB_INTEGRATION', 'vbulletin30');
// define('UDB_INTEGRATION', 'yabbse');
// define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
// Start output buffering
ob_start();
// Report all errors except E_NOTICE
// This is the default value set in php.ini
// error_reporting (E_ALL ^ E_NOTICE);
error_reporting(E_ALL);