|
From: Florin C B. <ory...@us...> - 2011-03-20 17:02:10
|
Update of /cvsroot/mxbb/phpbb2mxp
In directory vz-cvs-4.sog:/tmp/cvs-serv18354
Modified Files:
common.php config.php
Log Message:
safe mod restrictions init_set session path
Index: config.php
===================================================================
RCS file: /cvsroot/mxbb/phpbb2mxp/config.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** config.php 31 Dec 2008 01:43:48 -0000 1.1
--- config.php 20 Mar 2011 17:02:08 -0000 1.2
***************
*** 1,17 ****
<?php
!
! // phpBB 2.x auto-generated config file
! // Do not change anything in this file!
$dbms = 'mysqli';
! $dbhost = '';
! $dbname = '';
! $dbuser = '';
$dbpasswd = '';
$table_prefix = '';
?>
\ No newline at end of file
--- 1,23 ----
<?php
+ /** ------------------------------------------------------------------------
+ *
+ * $Id$
+ * This file must be put into the MX-Publisher Modular System directory, not into the phpBB directory.
+ **/
! //
! // MySql Information ( CHANGE HERE )
$dbms = 'mysqli';
! $dbhost = 'localhost';
! $dbname = 'test';
! $dbuser = 'root';
$dbpasswd = '';
$table_prefix = '';
+ //@ini_set('session.save_path', "/storage1/home/tmp");
+
?>
\ No newline at end of file
Index: common.php
===================================================================
RCS file: /cvsroot/mxbb/phpbb2mxp/common.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** common.php 8 Oct 2009 23:41:55 -0000 1.5
--- common.php 20 Mar 2011 17:02:08 -0000 1.6
***************
*** 29,34 ****
error_reporting(E_ALL ^ E_NOTICE); // Report all errors, except notices
! // If we are on PHP >= 6.0.0 we do not need some code
! if (version_compare(PHP_VERSION, '6.0.0-dev', '>='))
{
/**
--- 29,34 ----
error_reporting(E_ALL ^ E_NOTICE); // Report all errors, except notices
! // If we are on PHP >= 5.3.0 we do not need some code
! if (version_compare(PHP_VERSION, '5.3.0', '>='))
{
/**
***************
*** 39,43 ****
else
{
! set_magic_quotes_runtime(0);
// Be paranoid with passed vars
--- 39,43 ----
else
{
! @set_magic_quotes_runtime(0);
// Be paranoid with passed vars
***************
*** 207,216 ****
include_once($mx_root_path.'modules/mx_phpbb/includes/forum_hack.'.$phpEx);
}
- else
- {
- print("Forum Integration (mx_phpbb) " . $mx_root_path . "modules/mx_phpbb/includes/forum_hack.$phpEx couldn't be opened.<br /> Please check if \$mx_root_path is defined correct.");
- }
}
- //-mxp
/*
--- 207,211 ----
|