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 final class PhabricatorConduitApplication extends PhabricatorApplication { publi..
Decoded Output download
<?php
final class PhabricatorConduitApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/conduit/';
}
public function getIcon() {
return 'fa-tty';
}
public function canUninstall() {
return false;
}
public function getHelpDocumentationArticles(PhabricatorUser $viewer) {
return array(
array(
'name' => pht('Conduit API Overview'),
'href' => PhabricatorEnv::getDoclink('Conduit API Overview'),
),
);
}
public function getName() {
return pht('Conduit');
}
public function getShortDescription() {
return pht('Developer API');
}
public function getTitleGlyph() {
return "";
}
public function getApplicationGroup() {
return self::GROUP_DEVELOPER;
}
public function getApplicationOrder() {
return 0.100;
}
public function getRoutes() {
return array(
'/conduit/' => array(
$this->getQueryRoutePattern() => 'PhabricatorConduitListController',
'method/(?P<method>[^/]+)/' => 'PhabricatorConduitConsoleController',
'log/' => array(
$this->getQueryRoutePattern() =>
'PhabricatorConduitLogController',
'view/(?P<view>[^/]+)/' => 'PhabricatorConduitLogController',
),
'token/' => array(
'' => 'PhabricatorConduitTokenController',
'edit/(?:(?P<id>\d+)/)?' =>
'PhabricatorConduitTokenEditController',
'terminate/(?:(?P<id>\d+)/)?' =>
'PhabricatorConduitTokenTerminateController',
),
'login/' => 'PhabricatorConduitTokenHandshakeController',
),
'/api/(?P<method>[^/]+)' => 'PhabricatorConduitAPIController',
);
}
}
?>
Did this file decode correctly?
Original Code
<?php
final class PhabricatorConduitApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/conduit/';
}
public function getIcon() {
return 'fa-tty';
}
public function canUninstall() {
return false;
}
public function getHelpDocumentationArticles(PhabricatorUser $viewer) {
return array(
array(
'name' => pht('Conduit API Overview'),
'href' => PhabricatorEnv::getDoclink('Conduit API Overview'),
),
);
}
public function getName() {
return pht('Conduit');
}
public function getShortDescription() {
return pht('Developer API');
}
public function getTitleGlyph() {
return "\xE2\x87\xB5";
}
public function getApplicationGroup() {
return self::GROUP_DEVELOPER;
}
public function getApplicationOrder() {
return 0.100;
}
public function getRoutes() {
return array(
'/conduit/' => array(
$this->getQueryRoutePattern() => 'PhabricatorConduitListController',
'method/(?P<method>[^/]+)/' => 'PhabricatorConduitConsoleController',
'log/' => array(
$this->getQueryRoutePattern() =>
'PhabricatorConduitLogController',
'view/(?P<view>[^/]+)/' => 'PhabricatorConduitLogController',
),
'token/' => array(
'' => 'PhabricatorConduitTokenController',
'edit/(?:(?P<id>\d+)/)?' =>
'PhabricatorConduitTokenEditController',
'terminate/(?:(?P<id>\d+)/)?' =>
'PhabricatorConduitTokenTerminateController',
),
'login/' => 'PhabricatorConduitTokenHandshakeController',
),
'/api/(?P<method>[^/]+)' => 'PhabricatorConduitAPIController',
);
}
}
Function Calls
None |
Stats
MD5 | 22f06467bfc83dcaf0c5db22e72b5b98 |
Eval Count | 0 |
Decode Time | 107 ms |