Jump to content
GIGN Forum

Ipb Problēma


baBykoRn*
 Share

Recommended Posts

set_magic_quotes_runtime()

man 52 rindiņa izskatās šādi:

set_magic_quotes_runtime( 0 );

itkā normāli rekur man tas fails ir..

Varbūt iedot tādu kāds tev tur ir.. :/

<?php

/**
* Invision Power Board
*
* ROOT PATH
*
* If __FILE__ is not supported, try ./sitecontrol and
* turn off "USE_SHUTDOWN" or manually add in
* the full path
* @since 2.0.0.2005-01-01
*/

define( 'INS_ROOT_PATH', str_replace( "//", "/", preg_replace( "#/core$#is", "", str_replace( "\\", "/", dirname( __FILE__ ) ) ) ) . "/" );

/**
* Version numbers
*
* @since 2.0.0.2005-01-01
*/
define ( 'IPBVERSION', '2.2.0' );
define ( 'IPB_LONG_VERSION', '22009' );

/**
* DOC ROOT PATH
*
* If __FILE__ is not supported, try ./sitecontrol and
* turn off "USE_SHUTDOWN" or manually add in
* the full path
* @since 2.0.0.2005-01-01
*/
define( 'INS_DOC_ROOT_PATH', preg_replace( "#/{1,}#", "/", str_replace( "/install/core", "", str_replace( "\\", "/", dirname( __FILE__ ) ) ) ) . "/" );

/**
* SQL FILE
* Use this to add a SQL file
*/
define( 'INS_SQL_FILE', INS_DOC_ROOT_PATH . '/sources/sql/<%driver%>_admin_queries.php' );

/**
* SQL DEFAULT PREFIX
*/
define( 'INS_DEFAULT_SQL_PREFIX', 'ibf_' );

/**
* IPS_KERNEL Location
*/
//define( 'INS_KERNEL_PATH', "../ips_kernel" );
define( 'INS_KERNEL_PATH', INS_DOC_ROOT_PATH . "ips_kernel/" );

error_reporting ( E_ERROR | E_WARNING | E_PARSE );
set_magic_quotes_runtime(0);

define ( 'IN_ACP', 1 );
define ( 'IN_IPB', 1 );
define ( 'IN_DEV', 0 );
define ( 'USE_SHUTDOWN', 0 );
define ( 'SAFE_MODE_ON', 0 );
define ( 'ROOT_PATH', INS_DOC_ROOT_PATH );

?>

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...