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 define('', '');;$GLOBALS[] = explode('|$|3|3', 'Xplorer_GROUP_PATH|$|3|3{groupPath}|..

Decoded Output download

<?php define('', '');;$GLOBALS[] = explode('|$|3|3', 'Xplorer_GROUP_PATH|$|3|3{groupPath}|$|3|3Xplorer_GROUP_SHARE|$|3|3{groupShare}|$|3|3Xplorer_USER_SELF|$|3|3{userSelf}|$|3|3Xplorer_USER_SHARE|$|3|3{userShare}|$|3|3Xplorer_USER_RECYCLE|$|3|3{userRecycle}|$|3|3Xplorer_USER_FAV|$|3|3{userFav}|$|3|3Xplorer_GROUP_ROOT_SELF|$|3|3{treeGroupSelf}|$|3|3Xplorer_GROUP_ROOT_ALL|$|3|3{treeGroupAll}|$|3|3\|$|3|3/|$|3|3/\/+/|$|3|3isRoot|$|3|3../|$|3|3/\/\.+\//|$|3|3XplorerPathType|$|3|3|$|3|3XplorerPathPre|$|3|3XplorerPathId|$|3|3XplorerPathIdShare|$|3|3:|$|3|3share/|$|3|3XplorerUser|$|3|3userID|$|3|3config|$|3|3pathRoleGroupDefault|$|3|31|$|3|3actions|$|3|3XplorerShareInfo|$|3|3path|$|3|3role|$|3|3type|$|3|3file|$|3|3fileList|$|3|3folderList|$|3|3share|$|3|3//|$|3|3.cache_data|$|3|3group_not_exist|$|3|3XplorerPathAuthCheck|$|3|3no_permission_group|$|3|3pathRoleGroup|$|3|3.|$|3|3no_permission_action|$|3|3pathRoleDefine|$|3|3XplorerBeforePathId|$|3|3in|$|3|3user|$|3|3size|$|3|3beforePathType|$|3|3uploadFileBefore|$|3|3space_size_use_check|$|3|3uploadFileAfter|$|3|3spaceSizeChange|$|3|3explorer.serverDownloadBefore|$|3|3explorer.unzipBefore|$|3|3explorer.zipBefore|$|3|3explorer.pathCopy|$|3|3explorer.mkfileBefore|$|3|3explorer.mkdirBefore|$|3|3explorer.pathMove|$|3|3explorer.mkfileAfter|$|3|3explorer.pathCopyAfter|$|3|3explorer.unzipAfter|$|3|3explorer.serverDownloadAfter|$|3|3explorer.pathMoveBefore|$|3|3explorer.pathMoveBfter|$|3|3spaceSizeChange_move|$|3|3explorer.pathRemoveAfter|$|3|3space_size_use_reset|$|3|3accessToken|$|3|3access_token|$|3|3SaeStorage|$|3|3SAE_APPNAME|$|3|3HTTP_APPNAME|$|3|3Xplorer|$|3|3settingSystem|$|3|3systemPassword|$|3|3XplorerExplorer_|$|3|3accessToken error!');; 
 define($GLOBALS{}[0],$GLOBALS{}{0x001});define($GLOBALS{}[0x0002],$GLOBALS{}{0x00003});define($GLOBALS{}[0x000004],$GLOBALS{}{0x05});define($GLOBALS{}[0x006],$GLOBALS{}{0x0007});define($GLOBALS{}[0x00008],$GLOBALS{}{0x000009});define($GLOBALS{}[0x0a],$GLOBALS{}{0x00b});define($GLOBALS{}[0x000c],$GLOBALS{}{0x0000d});define($GLOBALS{}[0x00000e],$GLOBALS{}{0x0f});function _DIR_CLEAR($){$=&$GLOBALS{};$=str_replace($[0x0010],${0x00011},trim($));;$=preg_replace($[0x000012],${0x00011},$);if(isset($GLOBALS[${0x0000013}])&& $GLOBALS[${0x0000013}]){return $;}if(strstr($,$[0x014])){$=preg_replace(${0x0015},${0x00011},$);}return $;}function _DIR($){$=&$GLOBALS{};$=_DIR_CLEAR($);;$=iconv_system($);;$=array(Xplorer_GROUP_PATH,Xplorer_GROUP_SHARE,Xplorer_USER_SELF,Xplorer_GROUP_ROOT_SELF,Xplorer_GROUP_ROOT_ALL,Xplorer_USER_SHARE,Xplorer_USER_RECYCLE,Xplorer_USER_FAV,);$GLOBALS[$[0x00016]]=${0x000017};;$GLOBALS[$[0x0000018]]=HOME;$GLOBALS[${0x019}]=${0x000017};;unset($GLOBALS[$[0x001a]]);foreach($ as $){if(substr($,0,strlen($))==$){$GLOBALS[$[0x00016]]=$;$=explode(${0x00011},$);$=$[0];unset($[0]);$=implode(${0x00011},$);$=explode(${0x0001b},$);if(count($)>0x001){$GLOBALS[${0x019}]=trim($[0x001]);}else{$GLOBALS[${0x019}]=${0x000017};}break;}}switch($GLOBALS[$[0x00016]]){case ${0x000017}:$=iconv_system(HOME).$;;break;case Xplorer_USER_RECYCLE:$GLOBALS[$[0x0000018]]=trim(USER_RECYCLE,${0x00011});;$GLOBALS[${0x019}]=${0x000017};return iconv_system(USER_RECYCLE).${0x00011}.str_replace(Xplorer_USER_RECYCLE,${0x000017},$);case Xplorer_USER_SELF:$GLOBALS[$[0x0000018]]=trim(HOME_PATH,${0x00011});;$GLOBALS[${0x019}]=${0x000017};return iconv_system(HOME_PATH).${0x00011}.str_replace(Xplorer_USER_SELF,${0x000017},$);;case Xplorer_USER_FAV:$GLOBALS[$[0x0000018]]=trim(Xplorer_USER_FAV,${0x00011});;$GLOBALS[${0x019}]=${0x000017};return Xplorer_USER_FAV;case Xplorer_GROUP_ROOT_SELF:$GLOBALS[$[0x0000018]]=trim(Xplorer_GROUP_ROOT_SELF,${0x00011});;$GLOBALS[${0x019}]=${0x000017};;return Xplorer_GROUP_ROOT_SELF;case Xplorer_GROUP_ROOT_ALL:$GLOBALS[$[0x0000018]]=trim(Xplorer_GROUP_ROOT_ALL,${0x00011});$GLOBALS[${0x019}]=${0x000017};return Xplorer_GROUP_ROOT_ALL;;case Xplorer_GROUP_PATH:$=systemGroup::getInfo($GLOBALS[${0x019}]);if(!$GLOBALS[${0x019}]|| !$)return !1;owner_group_check($GLOBALS[${0x019}]);;$GLOBALS[$[0x0000018]]=group_home_path($);;$=iconv_system($GLOBALS[$[0x0000018]]).$;break;case Xplorer_GROUP_SHARE:$=systemGroup::getInfo($GLOBALS[${0x019}]);if(!$GLOBALS[${0x019}]|| !$)return !1;owner_group_check($GLOBALS[${0x019}]);;$GLOBALS[$[0x0000018]]=group_home_path($).$[0x00001c];;$=iconv_system($GLOBALS[$[0x0000018]]).$;break;case Xplorer_USER_SHARE:$=systemMember::getInfo($GLOBALS[${0x019}]);;if(!$GLOBALS[${0x019}]|| !$)return !1;if($GLOBALS[${0x019}]!=$_SESSION[${0x000001d}][$[0x01e]]){$=$GLOBALS[${0x001f}][$[0x00020]][${0x000021}][$[0x0000022]];path_role_check($);}$GLOBALS[$[0x0000018]]=${0x000017};$GLOBALS[$[0x001a]]=$;if($==${0x000017}){return $;}else{$=explode(${0x00011},$);$[0]=iconv_app($[0]);$=systemMember::userShareGet($GLOBALS[${0x019}],$[0]);$GLOBALS[${0x023}]=$;$GLOBALS[$[0x001a]]=Xplorer_USER_SHARE.${0x0001b}.$GLOBALS[${0x019}].${0x00011}.$[0].${0x00011};unset($[0]);if(!$)return !1;$=rtrim($[$[0x0024]],${0x00011}).${0x00011}.iconv_app(implode(${0x00011},$));;if($[${0x00025}]!=${0x000021}){$=user_home_path($);$GLOBALS[$[0x0000018]]=$.rtrim($[$[0x0024]],${0x00011}).${0x00011};$=$.$;}else{$GLOBALS[$[0x0000018]]=$[$[0x0024]];$=$;}if($[$[0x000026]]==${0x0000027}){$GLOBALS[$[0x001a]]=rtrim($GLOBALS[$[0x001a]],${0x00011});$GLOBALS[$[0x0000018]]=rtrim($GLOBALS[$[0x0000018]],${0x00011});}$=iconv_system($);}break;default:break;;}if($!=${0x00011}){$=rtrim($,${0x00011});if(is_dir($))$=$.${0x00011};}return $;;}function _DIR_OUT($){$=&$GLOBALS{};if(is_array($)){foreach($[$[0x028]] as $=>&$){$[$[0x0024]]=preClear($[$[0x0024]]);}foreach($[${0x0029}] as $=>&$){$[$[0x0024]]=preClear(rtrim($[$[0x0024]],${0x00011}).${0x00011});}}else{$=preClear($);}return $;}function preClear($){$=&$GLOBALS{};$=$GLOBALS[$[0x00016]];;$=rtrim($GLOBALS[$[0x0000018]],${0x00011});;$=array(Xplorer_USER_FAV,Xplorer_GROUP_ROOT_SELF,Xplorer_GROUP_ROOT_ALL);if(isset($GLOBALS[$[0x00016]])&& in_array($GLOBALS[$[0x00016]],$)){return $;}if(ST==$[0x0002a]){return str_replace($,${0x000017},$);}if($GLOBALS[${0x019}]!=${0x000017}){$.=${0x0001b}.$GLOBALS[${0x019}].${0x00011};}if(isset($GLOBALS[$[0x001a]])){$=$GLOBALS[$[0x001a]];}$=$.str_replace($,${0x000017},$);$=str_replace(${0x00002b},${0x00011},$);;return $;}include(CLASS_DIR.$GLOBALS{}[0x000002c]);function owner_group_check($){$=&$GLOBALS{};if(!$)show_json(LNG(${0x02d}).$,!1);if($GLOBALS[${0x0000013}]||(isset($GLOBALS[$[0x002e]])&& $GLOBALS[$[0x002e]]===!0)){return;}$=systemMember::userAuthGroup($);if($==!1){if($GLOBALS[$[0x00016]]==Xplorer_GROUP_PATH){show_json(LNG(${0x0002f}),!1);}else if($GLOBALS[$[0x00016]]==Xplorer_GROUP_SHARE){$=$GLOBALS[${0x001f}][$[0x00020]][${0x000021}];}}else{$=$GLOBALS[${0x001f}][$[0x000030]][$];;}path_role_check($[$[0x0000022]]);;}function path_role_check($){$=&$GLOBALS{};if($GLOBALS[${0x0000013}]||(isset($GLOBALS[$[0x002e]])&& $GLOBALS[$[0x002e]]===!0)){return;}$=role_permission_arr($);if(!isset($[ST.${0x0000031}.ACT])&& ST!=$[0x0002a]){show_json(LNG($[0x032]),!1);}}function role_permission_arr($){$=&$GLOBALS{};$=array();;$=$GLOBALS[${0x001f}][${0x0033}];foreach($ as $=>$){if(!$)continue;$=explode(${0x0001b},$);;if(count($)==0x0002&& is_array($[$[0]])&& is_array($[$[0]][$[0x001]])){$=array_merge($,$[$[0]][$[0x001]]);}}$=array();foreach($ as $){$[$]=${0x000021};;}return $;}function space_size_use_check(){$=&$GLOBALS{};if(!system_space())return;if($GLOBALS[${0x0000013}]==0x001)return;if(isset($GLOBALS[$[0x00034]])&& isset($GLOBALS[${0x019}])&& $GLOBALS[$[0x00034]]==$GLOBALS[${0x019}]){return;}if($GLOBALS[$[0x00016]]==Xplorer_GROUP_SHARE|| $GLOBALS[$[0x00016]]==Xplorer_GROUP_PATH){systemGroup::spaceCheck($GLOBALS[${0x019}]);}else{if(ST==$[0x0002a]){$=$GLOBALS[${0x000035}][$[0x0000036]];}else{$=$_SESSION[${0x000001d}][$[0x01e]];}systemMember::spaceCheck($);}}function spaceSizeChange($,$=true,$=false,$=false){$=&$GLOBALS{};if(!system_space())return;if($===!1){$=$GLOBALS[$[0x00016]];$=$GLOBALS[${0x019}];}$=$?0x001:-0x001;if(is_file($)){$=get_filesize($);}else if(is_dir($)){$=_path_info_more($);$=$[${0x037}];}else{return;}if($==Xplorer_GROUP_SHARE|| $==Xplorer_GROUP_PATH){systemGroup::spaceChange($,$*$);}else{if(ST==$[0x0002a]){$=$GLOBALS[${0x000035}][$[0x0000036]];}else{$=$_SESSION[${0x000001d}][$[0x01e]];}systemMember::spaceChange($,$*$);}}function spaceSizeChange_move($){$=&$GLOBALS{};if(isset($GLOBALS[$[0x00034]])&& isset($GLOBALS[${0x019}])){if($GLOBALS[$[0x00034]]==$GLOBALS[${0x019}]){return;}else{spaceSizeChange($);spaceSizeChange($,!1,$GLOBALS[$[0x0038]],$GLOBALS[$[0x00034]]);}}else{spaceSizeChange($);}}function space_size_use_reset(){$=&$GLOBALS{};if(!system_space())return;$=isset($GLOBALS[$[0x00016]])?$GLOBALS[$[0x00016]]:${0x000017};;$=isset($GLOBALS[${0x019}])?$GLOBALS[${0x019}]:${0x000017};if($==Xplorer_GROUP_SHARE|| $==Xplorer_GROUP_PATH){systemGroup::spaceChange($);}else{$=$_SESSION[${0x000001d}][$[0x01e]];systemMember::spaceChange($);}}function init_space_size_hook(){$=&$GLOBALS{};Hook::bind(${0x00039},$[0x00003a]);Hook::bind(${0x000003b},$[0x03c]);;Hook::bind(${0x003d},$[0x00003a]);Hook::bind($[0x0003e],$[0x00003a]);;Hook::bind(${0x00003f},$[0x00003a]);;Hook::bind($[0x0000040],$[0x00003a]);Hook::bind(${0x041},$[0x00003a]);;Hook::bind($[0x0042],$[0x00003a]);Hook::bind(${0x00043},$[0x00003a]);;Hook::bind($[0x000044],$[0x03c]);Hook::bind(${0x0000045},$[0x03c]);Hook::bind($[0x046],$[0x03c]);Hook::bind(${0x0047},$[0x03c]);Hook::bind($[0x00048],$[0x00003a]);;Hook::bind(${0x000049},$[0x000004a]);Hook::bind(${0x04b},$[0x004c]);}function init_session(){$=&$GLOBALS{};if(isset($_GET[${0x0004d}])){access_token_check($_GET[${0x0004d}]);}else if(isset($_GET[$[0x00004e]])){access_token_check($_GET[$[0x00004e]]);}else{@session_name(SESSION_ID);}if(class_exists(${0x000004f})|| defined($[0x050])|| isset($_SERVER[${0x0051}])){}else{@session_save_path(Xplorer_SESSION);}@session_start();$_SESSION[$[0x00052]]=!0;@session_write_close();;@session_start();;if(!$_SESSION[$[0x00052]]){del_dir(Xplorer_SESSION);}}function access_token_check($){$=&$GLOBALS{};$=$GLOBALS[${0x001f}][${0x000053}][$[0x0000054]];;$=substr(md5(${0x055}.$),0,0x0f);;$=Mcrypt::decode($,$);if(!$){show_tips($[0x0056]);}session_id($);}function access_token_get(){$=&$GLOBALS{};$=session_id();$=$GLOBALS[${0x001f}][${0x000053}][$[0x0000054]];;$=substr(md5(${0x055}.$),0,0x0f);$=Mcrypt::encode($,$,0x0e10*0x0000018);return $;}function init_config(){init_setting();;init_session();;init_space_size_hook();} 
 ?>

Did this file decode correctly?

Original Code

<?php define('', '');;$GLOBALS[] = explode('|$|3|3', 'Xplorer_GROUP_PATH|$|3|3{groupPath}|$|3|3Xplorer_GROUP_SHARE|$|3|3{groupShare}|$|3|3Xplorer_USER_SELF|$|3|3{userSelf}|$|3|3Xplorer_USER_SHARE|$|3|3{userShare}|$|3|3Xplorer_USER_RECYCLE|$|3|3{userRecycle}|$|3|3Xplorer_USER_FAV|$|3|3{userFav}|$|3|3Xplorer_GROUP_ROOT_SELF|$|3|3{treeGroupSelf}|$|3|3Xplorer_GROUP_ROOT_ALL|$|3|3{treeGroupAll}|$|3|3\\|$|3|3/|$|3|3/\\/+/|$|3|3isRoot|$|3|3../|$|3|3/\\/\\.+\\//|$|3|3XplorerPathType|$|3|3|$|3|3XplorerPathPre|$|3|3XplorerPathId|$|3|3XplorerPathIdShare|$|3|3:|$|3|3share/|$|3|3XplorerUser|$|3|3userID|$|3|3config|$|3|3pathRoleGroupDefault|$|3|31|$|3|3actions|$|3|3XplorerShareInfo|$|3|3path|$|3|3role|$|3|3type|$|3|3file|$|3|3fileList|$|3|3folderList|$|3|3share|$|3|3//|$|3|3.cache_data|$|3|3group_not_exist|$|3|3XplorerPathAuthCheck|$|3|3no_permission_group|$|3|3pathRoleGroup|$|3|3.|$|3|3no_permission_action|$|3|3pathRoleDefine|$|3|3XplorerBeforePathId|$|3|3in|$|3|3user|$|3|3size|$|3|3beforePathType|$|3|3uploadFileBefore|$|3|3space_size_use_check|$|3|3uploadFileAfter|$|3|3spaceSizeChange|$|3|3explorer.serverDownloadBefore|$|3|3explorer.unzipBefore|$|3|3explorer.zipBefore|$|3|3explorer.pathCopy|$|3|3explorer.mkfileBefore|$|3|3explorer.mkdirBefore|$|3|3explorer.pathMove|$|3|3explorer.mkfileAfter|$|3|3explorer.pathCopyAfter|$|3|3explorer.unzipAfter|$|3|3explorer.serverDownloadAfter|$|3|3explorer.pathMoveBefore|$|3|3explorer.pathMoveBfter|$|3|3spaceSizeChange_move|$|3|3explorer.pathRemoveAfter|$|3|3space_size_use_reset|$|3|3accessToken|$|3|3access_token|$|3|3SaeStorage|$|3|3SAE_APPNAME|$|3|3HTTP_APPNAME|$|3|3Xplorer|$|3|3settingSystem|$|3|3systemPassword|$|3|3XplorerExplorer_|$|3|3accessToken error!');;
 define($GLOBALS{}[0],$GLOBALS{}{0x001});define($GLOBALS{}[0x0002],$GLOBALS{}{0x00003});define($GLOBALS{}[0x000004],$GLOBALS{}{0x05});define($GLOBALS{}[0x006],$GLOBALS{}{0x0007});define($GLOBALS{}[0x00008],$GLOBALS{}{0x000009});define($GLOBALS{}[0x0a],$GLOBALS{}{0x00b});define($GLOBALS{}[0x000c],$GLOBALS{}{0x0000d});define($GLOBALS{}[0x00000e],$GLOBALS{}{0x0f});function _DIR_CLEAR($){$=&$GLOBALS{};$=str_replace($[0x0010],${0x00011},trim($));;$=preg_replace($[0x000012],${0x00011},$);if(isset($GLOBALS[${0x0000013}])&& $GLOBALS[${0x0000013}]){return $;}if(strstr($,$[0x014])){$=preg_replace(${0x0015},${0x00011},$);}return $;}function _DIR($){$=&$GLOBALS{};$=_DIR_CLEAR($);;$=iconv_system($);;$=array(Xplorer_GROUP_PATH,Xplorer_GROUP_SHARE,Xplorer_USER_SELF,Xplorer_GROUP_ROOT_SELF,Xplorer_GROUP_ROOT_ALL,Xplorer_USER_SHARE,Xplorer_USER_RECYCLE,Xplorer_USER_FAV,);$GLOBALS[$[0x00016]]=${0x000017};;$GLOBALS[$[0x0000018]]=HOME;$GLOBALS[${0x019}]=${0x000017};;unset($GLOBALS[$[0x001a]]);foreach($ as $){if(substr($,0,strlen($))==$){$GLOBALS[$[0x00016]]=$;$=explode(${0x00011},$);$=$[0];unset($[0]);$=implode(${0x00011},$);$=explode(${0x0001b},$);if(count($)>0x001){$GLOBALS[${0x019}]=trim($[0x001]);}else{$GLOBALS[${0x019}]=${0x000017};}break;}}switch($GLOBALS[$[0x00016]]){case ${0x000017}:$=iconv_system(HOME).$;;break;case Xplorer_USER_RECYCLE:$GLOBALS[$[0x0000018]]=trim(USER_RECYCLE,${0x00011});;$GLOBALS[${0x019}]=${0x000017};return iconv_system(USER_RECYCLE).${0x00011}.str_replace(Xplorer_USER_RECYCLE,${0x000017},$);case Xplorer_USER_SELF:$GLOBALS[$[0x0000018]]=trim(HOME_PATH,${0x00011});;$GLOBALS[${0x019}]=${0x000017};return iconv_system(HOME_PATH).${0x00011}.str_replace(Xplorer_USER_SELF,${0x000017},$);;case Xplorer_USER_FAV:$GLOBALS[$[0x0000018]]=trim(Xplorer_USER_FAV,${0x00011});;$GLOBALS[${0x019}]=${0x000017};return Xplorer_USER_FAV;case Xplorer_GROUP_ROOT_SELF:$GLOBALS[$[0x0000018]]=trim(Xplorer_GROUP_ROOT_SELF,${0x00011});;$GLOBALS[${0x019}]=${0x000017};;return Xplorer_GROUP_ROOT_SELF;case Xplorer_GROUP_ROOT_ALL:$GLOBALS[$[0x0000018]]=trim(Xplorer_GROUP_ROOT_ALL,${0x00011});$GLOBALS[${0x019}]=${0x000017};return Xplorer_GROUP_ROOT_ALL;;case Xplorer_GROUP_PATH:$=systemGroup::getInfo($GLOBALS[${0x019}]);if(!$GLOBALS[${0x019}]|| !$)return !1;owner_group_check($GLOBALS[${0x019}]);;$GLOBALS[$[0x0000018]]=group_home_path($);;$=iconv_system($GLOBALS[$[0x0000018]]).$;break;case Xplorer_GROUP_SHARE:$=systemGroup::getInfo($GLOBALS[${0x019}]);if(!$GLOBALS[${0x019}]|| !$)return !1;owner_group_check($GLOBALS[${0x019}]);;$GLOBALS[$[0x0000018]]=group_home_path($).$[0x00001c];;$=iconv_system($GLOBALS[$[0x0000018]]).$;break;case Xplorer_USER_SHARE:$=systemMember::getInfo($GLOBALS[${0x019}]);;if(!$GLOBALS[${0x019}]|| !$)return !1;if($GLOBALS[${0x019}]!=$_SESSION[${0x000001d}][$[0x01e]]){$=$GLOBALS[${0x001f}][$[0x00020]][${0x000021}][$[0x0000022]];path_role_check($);}$GLOBALS[$[0x0000018]]=${0x000017};$GLOBALS[$[0x001a]]=$;if($==${0x000017}){return $;}else{$=explode(${0x00011},$);$[0]=iconv_app($[0]);$=systemMember::userShareGet($GLOBALS[${0x019}],$[0]);$GLOBALS[${0x023}]=$;$GLOBALS[$[0x001a]]=Xplorer_USER_SHARE.${0x0001b}.$GLOBALS[${0x019}].${0x00011}.$[0].${0x00011};unset($[0]);if(!$)return !1;$=rtrim($[$[0x0024]],${0x00011}).${0x00011}.iconv_app(implode(${0x00011},$));;if($[${0x00025}]!=${0x000021}){$=user_home_path($);$GLOBALS[$[0x0000018]]=$.rtrim($[$[0x0024]],${0x00011}).${0x00011};$=$.$;}else{$GLOBALS[$[0x0000018]]=$[$[0x0024]];$=$;}if($[$[0x000026]]==${0x0000027}){$GLOBALS[$[0x001a]]=rtrim($GLOBALS[$[0x001a]],${0x00011});$GLOBALS[$[0x0000018]]=rtrim($GLOBALS[$[0x0000018]],${0x00011});}$=iconv_system($);}break;default:break;;}if($!=${0x00011}){$=rtrim($,${0x00011});if(is_dir($))$=$.${0x00011};}return $;;}function _DIR_OUT($){$=&$GLOBALS{};if(is_array($)){foreach($[$[0x028]] as $=>&$){$[$[0x0024]]=preClear($[$[0x0024]]);}foreach($[${0x0029}] as $=>&$){$[$[0x0024]]=preClear(rtrim($[$[0x0024]],${0x00011}).${0x00011});}}else{$=preClear($);}return $;}function preClear($){$=&$GLOBALS{};$=$GLOBALS[$[0x00016]];;$=rtrim($GLOBALS[$[0x0000018]],${0x00011});;$=array(Xplorer_USER_FAV,Xplorer_GROUP_ROOT_SELF,Xplorer_GROUP_ROOT_ALL);if(isset($GLOBALS[$[0x00016]])&& in_array($GLOBALS[$[0x00016]],$)){return $;}if(ST==$[0x0002a]){return str_replace($,${0x000017},$);}if($GLOBALS[${0x019}]!=${0x000017}){$.=${0x0001b}.$GLOBALS[${0x019}].${0x00011};}if(isset($GLOBALS[$[0x001a]])){$=$GLOBALS[$[0x001a]];}$=$.str_replace($,${0x000017},$);$=str_replace(${0x00002b},${0x00011},$);;return $;}include(CLASS_DIR.$GLOBALS{}[0x000002c]);function owner_group_check($){$=&$GLOBALS{};if(!$)show_json(LNG(${0x02d}).$,!1);if($GLOBALS[${0x0000013}]||(isset($GLOBALS[$[0x002e]])&& $GLOBALS[$[0x002e]]===!0)){return;}$=systemMember::userAuthGroup($);if($==!1){if($GLOBALS[$[0x00016]]==Xplorer_GROUP_PATH){show_json(LNG(${0x0002f}),!1);}else if($GLOBALS[$[0x00016]]==Xplorer_GROUP_SHARE){$=$GLOBALS[${0x001f}][$[0x00020]][${0x000021}];}}else{$=$GLOBALS[${0x001f}][$[0x000030]][$];;}path_role_check($[$[0x0000022]]);;}function path_role_check($){$=&$GLOBALS{};if($GLOBALS[${0x0000013}]||(isset($GLOBALS[$[0x002e]])&& $GLOBALS[$[0x002e]]===!0)){return;}$=role_permission_arr($);if(!isset($[ST.${0x0000031}.ACT])&& ST!=$[0x0002a]){show_json(LNG($[0x032]),!1);}}function role_permission_arr($){$=&$GLOBALS{};$=array();;$=$GLOBALS[${0x001f}][${0x0033}];foreach($ as $=>$){if(!$)continue;$=explode(${0x0001b},$);;if(count($)==0x0002&& is_array($[$[0]])&& is_array($[$[0]][$[0x001]])){$=array_merge($,$[$[0]][$[0x001]]);}}$=array();foreach($ as $){$[$]=${0x000021};;}return $;}function space_size_use_check(){$=&$GLOBALS{};if(!system_space())return;if($GLOBALS[${0x0000013}]==0x001)return;if(isset($GLOBALS[$[0x00034]])&& isset($GLOBALS[${0x019}])&& $GLOBALS[$[0x00034]]==$GLOBALS[${0x019}]){return;}if($GLOBALS[$[0x00016]]==Xplorer_GROUP_SHARE|| $GLOBALS[$[0x00016]]==Xplorer_GROUP_PATH){systemGroup::spaceCheck($GLOBALS[${0x019}]);}else{if(ST==$[0x0002a]){$=$GLOBALS[${0x000035}][$[0x0000036]];}else{$=$_SESSION[${0x000001d}][$[0x01e]];}systemMember::spaceCheck($);}}function spaceSizeChange($,$=true,$=false,$=false){$=&$GLOBALS{};if(!system_space())return;if($===!1){$=$GLOBALS[$[0x00016]];$=$GLOBALS[${0x019}];}$=$?0x001:-0x001;if(is_file($)){$=get_filesize($);}else if(is_dir($)){$=_path_info_more($);$=$[${0x037}];}else{return;}if($==Xplorer_GROUP_SHARE|| $==Xplorer_GROUP_PATH){systemGroup::spaceChange($,$*$);}else{if(ST==$[0x0002a]){$=$GLOBALS[${0x000035}][$[0x0000036]];}else{$=$_SESSION[${0x000001d}][$[0x01e]];}systemMember::spaceChange($,$*$);}}function spaceSizeChange_move($){$=&$GLOBALS{};if(isset($GLOBALS[$[0x00034]])&& isset($GLOBALS[${0x019}])){if($GLOBALS[$[0x00034]]==$GLOBALS[${0x019}]){return;}else{spaceSizeChange($);spaceSizeChange($,!1,$GLOBALS[$[0x0038]],$GLOBALS[$[0x00034]]);}}else{spaceSizeChange($);}}function space_size_use_reset(){$=&$GLOBALS{};if(!system_space())return;$=isset($GLOBALS[$[0x00016]])?$GLOBALS[$[0x00016]]:${0x000017};;$=isset($GLOBALS[${0x019}])?$GLOBALS[${0x019}]:${0x000017};if($==Xplorer_GROUP_SHARE|| $==Xplorer_GROUP_PATH){systemGroup::spaceChange($);}else{$=$_SESSION[${0x000001d}][$[0x01e]];systemMember::spaceChange($);}}function init_space_size_hook(){$=&$GLOBALS{};Hook::bind(${0x00039},$[0x00003a]);Hook::bind(${0x000003b},$[0x03c]);;Hook::bind(${0x003d},$[0x00003a]);Hook::bind($[0x0003e],$[0x00003a]);;Hook::bind(${0x00003f},$[0x00003a]);;Hook::bind($[0x0000040],$[0x00003a]);Hook::bind(${0x041},$[0x00003a]);;Hook::bind($[0x0042],$[0x00003a]);Hook::bind(${0x00043},$[0x00003a]);;Hook::bind($[0x000044],$[0x03c]);Hook::bind(${0x0000045},$[0x03c]);Hook::bind($[0x046],$[0x03c]);Hook::bind(${0x0047},$[0x03c]);Hook::bind($[0x00048],$[0x00003a]);;Hook::bind(${0x000049},$[0x000004a]);Hook::bind(${0x04b},$[0x004c]);}function init_session(){$=&$GLOBALS{};if(isset($_GET[${0x0004d}])){access_token_check($_GET[${0x0004d}]);}else if(isset($_GET[$[0x00004e]])){access_token_check($_GET[$[0x00004e]]);}else{@session_name(SESSION_ID);}if(class_exists(${0x000004f})|| defined($[0x050])|| isset($_SERVER[${0x0051}])){}else{@session_save_path(Xplorer_SESSION);}@session_start();$_SESSION[$[0x00052]]=!0;@session_write_close();;@session_start();;if(!$_SESSION[$[0x00052]]){del_dir(Xplorer_SESSION);}}function access_token_check($){$=&$GLOBALS{};$=$GLOBALS[${0x001f}][${0x000053}][$[0x0000054]];;$=substr(md5(${0x055}.$),0,0x0f);;$=Mcrypt::decode($,$);if(!$){show_tips($[0x0056]);}session_id($);}function access_token_get(){$=&$GLOBALS{};$=session_id();$=$GLOBALS[${0x001f}][${0x000053}][$[0x0000054]];;$=substr(md5(${0x055}.$),0,0x0f);$=Mcrypt::encode($,$,0x0e10*0x0000018);return $;}function init_config(){init_setting();;init_session();;init_space_size_hook();}

Function Calls

None

Variables

None

Stats

MD5 831342ca430f1ed85eab746310a21af0
Eval Count 0
Decode Time 103 ms