titounnes / modul-builder

Build modul with CLI
1 stars 1 forks source link

Use is_cli instead #3

Open ad3n opened 9 years ago

ad3n commented 9 years ago

https://github.com/bcit-ci/CodeIgniter/blob/develop/system%2Fcore%2FCommon.php#L373

Langsung pake is_cli coz is_cli_request udah deprecated :-)

Dan tolong buat PR ke main repo CI tuk tambah pengecekan biar user tak perlu ngecek lagi... Harusnya CLI cuma bisa diexecute dari local ga bisa remote