=============================================================================================================== dcnt/lib/sys/CPreProc.class.php --------------------------------------------------------------------------------------------------------------- public static function reverseMagicQuote() { $func = "reverseMagicQuote_stripslashes_deep"; ===> if ( !function_exists( $func ) && function_exists("get_magic_quotes_gpc") && get_magic_quotes_gpc() ) { define( 'REVERSE_MAGIC_QUOTE', $func ); function reverseMagicQuote_stripslashes_deep( $value ) { =============================================================================================================== dcnt/install/mod/setup/CFend_setup.class.php --------------------------------------------------------------------------------------------------------------- public function init() { $this->unbind("CBaseTpl","hd_BodyHeader"); $this->unbind("CBaseTpl","hd_BodyFooter"); $this->unbind("CBaseTpl","hd_Body"); $this->bind("hd_HtmlHead"); $this->bind("hd_BodyHeader"); $this->bind("hd_BodyFooter"); $this->bind("hd_Body"); $GLOBALS["skip-CApp::exproc"]=1; <============================= Insert! } =============================================================================================================== dcnt/admin/mod/btpl/CBaseTpl.class.php --------------------------------------------------------------------------------------------------------------- public function hd_HtmlHead( $data ) { $url_mod = $this->urlMod(); //-- breadcrumbs $bx = array(); $this->cfg_admin = CEnv::config("admin/app"); $this->lca_app = CEnv::locale("app/info"); if ( !empty($this->lca_app[ "app:name" ]) ) { $bx[] = htmlspecialchars($this->lca_app[ "app:name" ]); } $page_title = CApp::get( "page-title" ); if ( !empty($page_title) ) { $bx[] = htmlspecialchars($page_title); } $this->breadcrumbs = implode(" : ",$bx); include( dirname(__FILE__) . "/tpl.html.head.inc.php" ); if(!isset($GLOBALS["skip-CApp::exproc"])){ <==================================Insert CApp::exproc("htmlhead:cfg"); } <============================================================================Insert } ===============================================================================================================