|
From: Florin C B. <ory...@us...> - 2011-03-30 10:05:25
|
Update of /cvsroot/mxbb/core
In directory vz-cvs-4.sog:/tmp/cvs-serv30301
Modified Files:
config.php.contrib index.php login.php robots.txt
Log Message:
other updates after php 5.3.4
Index: login.php
===================================================================
RCS file: /cvsroot/mxbb/core/login.php,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** login.php 30 Sep 2008 07:04:35 -0000 1.32
--- login.php 30 Mar 2011 10:05:23 -0000 1.33
***************
*** 100,104 ****
for($i = 1; $i < count($forward_match); $i++)
{
! if( !ereg("sid=", $forward_match[$i]) )
{
if( $forward_page != '' )
--- 100,104 ----
for($i = 1; $i < count($forward_match); $i++)
{
! if(!preg_match('#sid=#', $forward_match[$i]))
{
if( $forward_page != '' )
Index: index.php
===================================================================
RCS file: /cvsroot/mxbb/core/index.php,v
retrieving revision 1.84
retrieving revision 1.85
diff -C2 -d -r1.84 -r1.85
*** index.php 29 Mar 2011 08:13:46 -0000 1.84
--- index.php 30 Mar 2011 10:05:23 -0000 1.85
***************
*** 10,14 ****
*/
! define( 'IN_PORTAL', 1 );
$phpEx = substr(strrchr(__FILE__, '.'), 1);
$mx_root_path = "./";
--- 10,14 ----
*/
! define('IN_PORTAL', 1);
$phpEx = substr(strrchr(__FILE__, '.'), 1);
$mx_root_path = "./";
***************
*** 352,356 ****
'PORTAL' => defined('IN_PORTAL') ? true : false,
'PORTAL_INDEX_PAGE' => ($portal_config['main_layout']) ? true : false,
! ));
//
--- 352,356 ----
'PORTAL' => defined('IN_PORTAL') ? true : false,
'PORTAL_INDEX_PAGE' => ($portal_config['main_layout']) ? true : false,
! ));
//
Index: config.php.contrib
===================================================================
RCS file: /cvsroot/mxbb/core/config.php.contrib,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** config.php.contrib 26 Feb 2011 02:58:46 -0000 1.4
--- config.php.contrib 30 Mar 2011 10:05:23 -0000 1.5
***************
*** 18,21 ****
--- 18,22 ----
//@ini_set('session.save_path', "/storage1/home/tmp");
+ @ini_set('post_max_size', 24);
//
Index: robots.txt
===================================================================
RCS file: /cvsroot/mxbb/core/robots.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** robots.txt 27 Apr 2010 16:14:59 -0000 1.2
--- robots.txt 30 Mar 2011 10:05:23 -0000 1.3
***************
*** 1,10 ****
- User-agent: *
- Disallow: /admin/
- Disallow: /cache/
- Disallow: /images/
- Disallow: /includes/
- Disallow: /language/
- Disallow: /modules/
- Disallow: /templates/
User-Agent: wget
Disallow: /
--- 1,2 ----
***************
*** 59,61 ****
--- 51,59 ----
User-agent: *
+ Disallow: /admin/
+ Disallow: /cache/
+ Disallow: /includes/
+ Disallow: /language/
+ Disallow: /modules/
+ Disallow: /templates/
Crawl-delay: 10
|