One Hat Cyber Team
Your IP :
172.70.80.191
Server IP :
188.114.96.3
Server :
Linux thuru 6.5.11-4-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.11-4 (2023-11-20T10:19Z) x86_64
Server Software :
Apache/2.4.51 (Unix) OpenSSL/1.0.2k-fips
PHP Version :
7.3.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
thuruk
/
public_html
/
App
/
web
/
Edit File:
command.tpl.php
<@php namespace {namespace}; use CodeIgniter\CLI\BaseCommand; use CodeIgniter\CLI\CLI; <?php if ($type === 'generator'): ?> use CodeIgniter\CLI\GeneratorTrait; <?php endif ?> class {class} extends BaseCommand { <?php if ($type === 'generator'): ?> use GeneratorTrait; <?php endif ?> /** * The Command's Group * * @var string */ protected $group = '{group}'; /** * The Command's Name * * @var string */ protected $name = '{command}'; /** * The Command's Description * * @var string */ protected $description = ''; /** * The Command's Usage * * @var string */ protected $usage = '{command} [arguments] [options]'; /** * The Command's Arguments * * @var array */ protected $arguments = []; /** * The Command's Options * * @var array */ protected $options = []; /** * Actually execute a command. * * @param array $params */ public function run(array $params) { <?php if ($type === 'generator'): ?> $this->component = 'Command'; $this->directory = 'Commands'; $this->template = 'command.tpl.php'; $this->execute($params); <?php else: ?> // <?php endif ?> } }
Simpan