Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php function dynamicmtml_pack_mt_init_exception ( &$mt, &$ctx, &$args, $error ) { gl..

Decoded Output download

<?php
function dynamicmtml_pack_mt_init_exception ( &$mt, &$ctx, &$args, $error ) {
    global $app;

/*
    // Example 1: Show error message on DebugMode.
    if ( $app->config( 'DebugMode' ) ) {
        echo htmlspecialchars( $error );
        exit();
    }
*/

/*
    //Example 2: Retry get_instance using mt-alt-config.cgi.
    global $mt_dir;
    $config = $mt_dir . DIRECTORY_SEPARATOR . 'mt-alt-config.cgi';
    if ( file_exists ( $config ) ) {
        global $mt_config;
        global $blog_id;
        $mt_config = $config;
        try {
            $mt = MT::get_instance( $blog_id, $mt_config );
        } catch ( MTInitException $e ) {
            $mt = NULL;
            // Continue Non-DynamicMTML
        }
        if ( isset ( $mt ) ) {
            $app->configure( $mt_config );
            $app->init_plugin_dir();
        }
    }
*/
}
?>

Did this file decode correctly?

Original Code

<?php
function dynamicmtml_pack_mt_init_exception ( &$mt, &$ctx, &$args, $error ) {
    global $app;

/*
    // Example 1: Show error message on DebugMode.
    if ( $app->config( 'DebugMode' ) ) {
        echo htmlspecialchars( $error );
        exit();
    }
*/

/*
    //Example 2: Retry get_instance using mt-alt-config.cgi.
    global $mt_dir;
    $config = $mt_dir . DIRECTORY_SEPARATOR . 'mt-alt-config.cgi';
    if ( file_exists ( $config ) ) {
        global $mt_config;
        global $blog_id;
        $mt_config = $config;
        try {
            $mt = MT::get_instance( $blog_id, $mt_config );
        } catch ( MTInitException $e ) {
            $mt = NULL;
            // Continue Non-DynamicMTML
        }
        if ( isset ( $mt ) ) {
            $app->configure( $mt_config );
            $app->init_plugin_dir();
        }
    }
*/
}
?>

Function Calls

None

Variables

None

Stats

MD5 cee0d9c32932aa4290f1334161b3eb0f
Eval Count 0
Decode Time 95 ms