Version 2.3.6
This commit is contained in:
1 parent
a3bb603c96
commit
19b38c7c74
764 files changed
+143731
-118164
No files matched your search
+29
-31
@@ -1,27 +1,17 @@
|
||||
<?php
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board 2.2.2
|
||||
| Invision Power Board
|
||||
| =============================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2006 Invision Power Services, Inc.
|
||||
| http://www.invisionpower.com
|
||||
| =============================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| http://www.ibresource.ru/products/invisionpowerboard/
|
||||
| Time: Monday 05th of March 2007 10:10:55 PM
|
||||
| Release: e3790216629e5a2aaf37070b32237f06
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
| http://www.ibresource.ru/license
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD IS NOT FREE / OPEN SOURCE!
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
|
||||
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2006-11-15 16:28:37 -0600 (Wed, 15 Nov 2006) $
|
||||
| > $Revision: 730 $
|
||||
| > $Date: 2008-04-07 13:25:37 -0400 (Mon, 07 Apr 2008) $
|
||||
| > $Revision: 1233 $
|
||||
| > $Author: bfarber $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
@@ -32,6 +22,11 @@
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( @function_exists( 'memory_get_usage' ) )
|
||||
{
|
||||
define( 'IPB_MEMORY_START', memory_get_usage() );
|
||||
}
|
||||
|
||||
/**
|
||||
* INIT File
|
||||
*
|
||||
@@ -85,6 +80,15 @@ define ( 'IN_DEV', 0 );
|
||||
*/
|
||||
define ( 'IPS_SQL_DEBUG_MODE', 0 );
|
||||
|
||||
/**
|
||||
* MEMORY DEBUG MODE
|
||||
*
|
||||
* Turns on MEMORY debugging mode. This is NOT recommended
|
||||
* as it opens your board up to potential security risks
|
||||
* @since 2.2.0.2006-11-06
|
||||
*/
|
||||
define ( 'IPS_MEMORY_DEBUG_MODE', 0 );
|
||||
|
||||
/**
|
||||
* Write to debug file?
|
||||
* Enter relative / full path into the constant below
|
||||
@@ -106,7 +110,7 @@ define( 'IPS_XML_RPC_DEBUG_FILE', ROOT_PATH . 'cache/xmlrpc_debug.cgi' );
|
||||
define( 'IPB_ACP_IP_MATCH', 1 );
|
||||
|
||||
/**
|
||||
* Allow exec.url="" tags
|
||||
* Allow <!--exec.url=""--> and <!--exec.file=""--> tags
|
||||
* Turning this on is a potential security risk as a malicious user
|
||||
* could, with access to your ACP, add in an executable
|
||||
* shell script which would allow root access to your
|
||||
@@ -115,7 +119,7 @@ define( 'IPB_ACP_IP_MATCH', 1 );
|
||||
define( 'IPB_ACP_ALLOW_EXEC_URL', 0 );
|
||||
|
||||
/**
|
||||
* Allow PHP tags in template HTML?
|
||||
* Allow <php></php> tags (which execute raw php) in template HTML?
|
||||
* Turning this on is a potential security risk as a malicious user
|
||||
* could, with access to your ACP, add in an executable
|
||||
* shell script which would allow root access to your
|
||||
@@ -123,12 +127,6 @@ define( 'IPB_ACP_ALLOW_EXEC_URL', 0 );
|
||||
*/
|
||||
define( 'IPB_ACP_ALLOW_TEMPLATE_PHP', 0 );
|
||||
|
||||
/**
|
||||
* Allow UTF charset convertations for AJAX-based tools
|
||||
* @since 2.2.2.2007-02-25
|
||||
*/
|
||||
define( 'IPB_ACP_AJAX_UTF_CONVERT', 1 );
|
||||
|
||||
/**
|
||||
* Make the IPB portal your default forum page?
|
||||
*/
|
||||
@@ -186,7 +184,7 @@ define ( 'USE_MODULES', 1 );
|
||||
* Useful to trap skin errors, etc
|
||||
* @since 2.0.0.2005-01-01
|
||||
*/
|
||||
define( 'CUSTOM_ERROR', 1 );
|
||||
define( 'CUSTOM_ERROR', 0 );
|
||||
|
||||
/**
|
||||
* TRIAL VERSION
|
||||
@@ -201,8 +199,8 @@ define( 'TRIAL_VERSION', 0 );
|
||||
*
|
||||
* @since 2.0.0.2005-01-01
|
||||
*/
|
||||
define ( 'IPBVERSION', '2.2.2' );
|
||||
define ( 'IPB_LONG_VERSION', '22011' );
|
||||
define ( 'IPBVERSION', '2.3.6' );
|
||||
define ( 'IPB_LONG_VERSION', '23010' );
|
||||
|
||||
//-----------------------------------------------
|
||||
// NO USER EDITABLE SECTIONS BELOW
|
||||
@@ -318,7 +316,7 @@ class Debug
|
||||
*/
|
||||
function fatal_error($message="", $help="")
|
||||
{
|
||||
echo("$message<br><br>$help");
|
||||
echo("$message<br /><br />$help");
|
||||
exit;
|
||||
}
|
||||
|
||||
@@ -352,7 +350,7 @@ function my_error_handler( $errno, $errstr, $errfile, $errline )
|
||||
switch ($errno)
|
||||
{
|
||||
case E_ERROR:
|
||||
echo "<b>ÎØÈÁÊÀ Â ÊÎÄÅ:</b> [$errno] $errstr (Ñòðîêà: $errline ôàéëà $errfile)<br />\n";
|
||||
echo "<b>IPB ERROR</b> [$errno] $errstr (Line: $errline of $errfile)<br />\n";
|
||||
|
||||
if( is_object($ipsclass) )
|
||||
{
|
||||
@@ -366,10 +364,10 @@ function my_error_handler( $errno, $errstr, $errfile, $errline )
|
||||
{
|
||||
if ( IPB_THIS_SCRIPT != 'admin' )
|
||||
{
|
||||
echo "<div style='font-family:sans-serif'><b>ÎØÈÁÊÀ Â ØÀÁËÎÍÅ:</b> Íåâîçìîæíî çàãðóçèòü òðåáóåìûé øàáëîí.
|
||||
<br /><br />Âî-ïåðâûõ, ïðîâåðüòå è óäàëèòå ëþáûå äðóãèå ñòèëåâûå íàñòðîéêè, íàæàâ <a href='index.php?setskin&id=0'>ñþäà</a>
|
||||
<br /><br />Ïîòîì, ïîæàëóéñòà, çàéäèòå â <a href='admin.php'>àäìèíöåíòð ôîðóìà</a> è èñïðàâüòå øàáëîí, âûçûâàþùèé îøèáêó.
|
||||
<br /><br /><span style='font-size:90%;color:gray'>Îøèáêà: $errstr</span></div>";
|
||||
echo "<div style='font-family:sans-serif'><b>IPB TEMPLATE ERROR:</b> Could not load the required template.
|
||||
<br /><br />First, try and remove any custom skin settings by clicking <a href='index.php?setskin&id=0'>here</a>
|
||||
<br /><br />Then, please visit your <a href='" . IPB_ACP_DIRECTORY . "/index.php'>Admin Control Panel</a> to repair this template.
|
||||
<br /><br /><span style='font-size:90%;color:gray'>Error: $errstr</span></div>";
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -378,7 +376,7 @@ function my_error_handler( $errno, $errstr, $errfile, $errline )
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<b>ÏÐÅÄÓÏÐÅÆÄÅÍÈÅ:</b> [$errno] $errstr (Ñòðîêà: $errline ôàéëà $errfile)<br />\n";
|
||||
echo "<b>IPB WARNING</b> [$errno] $errstr (Line: $errline of $errfile)<br />\n";
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in new issue
Block a user