uawdijnntqw1x1x1
IP : 216.73.216.93
Hostname : panel.codeskitter.com
Kernel : Linux panel.codeskitter.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
Disable Function : apache_child_terminate, apache_note, apache_setenv, define_syslog_variables, dl, link, opcache_get_status, openlog, pcntl_exec, pcntl_fork, pcntl_setpriority, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
OS : Linux
PATH:
/
home
/
users
/
unlimited
/
www
/
admin.priyotama.com
/
app
/
CentralLogics
/
filemanager.php
/
/
<?php namespace App\CentralLogics; use Illuminate\Support\Facades\Storage; class FileManagerLogic { private static function get_file_name($path) { $temp = explode('/',$path); return end($temp); } private static function get_file_ext($name) { $temp = explode('.',$name); return end($temp); } private static function get_path_for_db($full_path) { $temp = explode('/',$full_path, 3); return end($temp); } public static function format_file_and_folders($files, $type) { $data = []; foreach($files as $file) { $name = self::get_file_name($file); $ext = self::get_file_ext($name); $path = ''; if($type == 'file') { $path = $file; } if($type == 'folder') { $path = $file; } if(in_array($ext, ['jpg', 'png', 'jpeg', 'gif', 'bmp', 'tif', 'tiff']) || $type=='folder') $data[] = [ 'name'=> $name, 'path'=> $path, 'db_path'=> self::get_path_for_db($file), 'type'=>$type ]; } return $data; } }
/home/users/unlimited/www/admin.priyotama.com/app/CentralLogics/filemanager.php