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 /** * FecShop file. * * @link http://www.fecshop.com/ * @copyright Copyright (c)..

Decoded Output download

<?php
/**
 * FecShop file.
 *
 * @link http://www.fecshop.com/
 * @copyright Copyright (c) 2016 FecShop Software LLC
 * @license http://www.fecshop.com/license/
 */

namespace fecshopppppserver\modules\Cms;

use fecshopppppserver\modules\AppserverModule;
use Yii;

/**
 * @author Terry Zhao <[email protected]>
 * @since 1.0
 */
class Module extends AppserverModule
{
    public $blockNamespace;

    public function init()
    {
        parent::init();
        // 
        $nameSpace = __NAMESPACE__;
        // web controller
        if (Yii::$app instanceof \yii\web\Application) {
            $this->controllerNamespace = $nameSpace . '\controllers';
            $this->blockNamespace = $nameSpace . '\block';
        // console controller
        //} elseif (Yii::$app instanceof \yii\console\Application) {
        //	$this->controllerNamespace 	= 	$nameSpace . '\console\controllers';
        //	$this->blockNamespace 	= 	$nameSpace . '\console\block';
        }
        //$this->_currentDir			= 	__DIR__ ;
        //$this->_currentNameSpace	=   __NAMESPACE__;

        // man
        //$this->layout = "home.php";
        //Yii::$service->page->theme->layoutFile = 'main.php';
        
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php
/**
 * FecShop file.
 *
 * @link http://www.fecshop.com/
 * @copyright Copyright (c) 2016 FecShop Software LLC
 * @license http://www.fecshop.com/license/
 */

namespace fecshop\app\appserver\modules\Cms;

use fecshop\app\appserver\modules\AppserverModule;
use Yii;

/**
 * @author Terry Zhao <[email protected]>
 * @since 1.0
 */
class Module extends AppserverModule
{
    public $blockNamespace;

    public function init()
    {
        parent::init();
        // 
        $nameSpace = __NAMESPACE__;
        // web controller
        if (Yii::$app instanceof \yii\web\Application) {
            $this->controllerNamespace = $nameSpace . '\\controllers';
            $this->blockNamespace = $nameSpace . '\\block';
        // console controller
        //} elseif (Yii::$app instanceof \yii\console\Application) {
        //	$this->controllerNamespace 	= 	$nameSpace . '\\console\\controllers';
        //	$this->blockNamespace 	= 	$nameSpace . '\\console\\block';
        }
        //$this->_currentDir			= 	__DIR__ ;
        //$this->_currentNameSpace	=   __NAMESPACE__;

        // man
        //$this->layout = "home.php";
        //Yii::$service->page->theme->layoutFile = 'main.php';
        
    }
}

Function Calls

None

Variables

None

Stats

MD5 aae425d2bea0ac04418d7b08372d4566
Eval Count 0
Decode Time 95 ms