How to call models outside CodeIgniter controller? |
How do you run the ExportAlert.php?
If you run it in CLI, CI4 provides Spark commands. https://codeigniter4.github.io/CodeIgnit...mands.html If you just run like php /path/to/ExportAlert.php, you do not use CI4. In such a case, you need to load or autoload all classes by yourself. |
Messages In This Thread |
How to call models outside CodeIgniter controller? - by KeroniMasingolir - 03-22-2023, 12:28 AM
RE: How to call models outside CodeIgniter controller? - by kenjis - 03-22-2023, 02:03 AM
|