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 /** * Defines Phabricator's static resources. */ final class CelerityPhabricatorR..
Decoded Output download
<?php
/**
* Defines Phabricator's static resources.
*/
final class CelerityPhabricatorResources extends CelerityResourcesOnDisk {
public function getName() {
return 'phabricator';
}
public function getPathToResources() {
return $this->getPhabricatorPath('webroot/');
}
public function getPathToMap() {
return $this->getPhabricatorPath('resources/celerity/map.php');
}
private function getPhabricatorPath($to_file) {
return dirname(phutil_get_library_root('phabricator')).'/'.$to_file;
}
public function getResourcePackages() {
return include $this->getPhabricatorPath('resources/celerity/packages.php');
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* Defines Phabricator's static resources.
*/
final class CelerityPhabricatorResources extends CelerityResourcesOnDisk {
public function getName() {
return 'phabricator';
}
public function getPathToResources() {
return $this->getPhabricatorPath('webroot/');
}
public function getPathToMap() {
return $this->getPhabricatorPath('resources/celerity/map.php');
}
private function getPhabricatorPath($to_file) {
return dirname(phutil_get_library_root('phabricator')).'/'.$to_file;
}
public function getResourcePackages() {
return include $this->getPhabricatorPath('resources/celerity/packages.php');
}
}
Function Calls
None |
Stats
MD5 | 6c93de60c724d2bc46651f30be5519c3 |
Eval Count | 0 |
Decode Time | 86 ms |