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 namespace Pagekit\Installer\Controller; use Pagekit\Application as App; /** * @A..
Decoded Output download
<?php
namespace Pagekit\Installer\Controller;
use Pagekit\Application as App;
/**
* @Access("system: manage packages", admin=true)
*/
class MarketplaceController
{
/**
* @Request({"page":"int"})
*/
public function themesAction($page = null)
{
return [
'$view' => [
'title' => __('Marketplace'),
'name' => 'installer:views/marketplace.php'
],
'$data' => [
'title' => 'Themes',
'type' => 'pagekit-theme',
'api' => App::get('system.api'),
'installed' => array_values(App::package()->all('pagekit-theme')),
'page' => $page
]
];
}
/**
* @Request({"page":"int"})
*/
public function extensionsAction($page = null)
{
return [
'$view' => [
'title' => __('Marketplace'),
'name' => 'installer:views/marketplace.php'
],
'$data' => [
'title' => 'Extensions',
'type' => 'pagekit-extension',
'api' => App::get('system.api'),
'installed' => array_values(App::package()->all('pagekit-extension')),
'page' => $page
]
];
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Pagekit\Installer\Controller;
use Pagekit\Application as App;
/**
* @Access("system: manage packages", admin=true)
*/
class MarketplaceController
{
/**
* @Request({"page":"int"})
*/
public function themesAction($page = null)
{
return [
'$view' => [
'title' => __('Marketplace'),
'name' => 'installer:views/marketplace.php'
],
'$data' => [
'title' => 'Themes',
'type' => 'pagekit-theme',
'api' => App::get('system.api'),
'installed' => array_values(App::package()->all('pagekit-theme')),
'page' => $page
]
];
}
/**
* @Request({"page":"int"})
*/
public function extensionsAction($page = null)
{
return [
'$view' => [
'title' => __('Marketplace'),
'name' => 'installer:views/marketplace.php'
],
'$data' => [
'title' => 'Extensions',
'type' => 'pagekit-extension',
'api' => App::get('system.api'),
'installed' => array_values(App::package()->all('pagekit-extension')),
'page' => $page
]
];
}
}
Function Calls
None |
Stats
MD5 | d202633024f3e48cc7e56af93f7097ad |
Eval Count | 0 |
Decode Time | 83 ms |