This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TESTED ON CODEIGNITER 3 & 4 | |
// ------------------------------------------------------------------------ | |
if (! function_exists('alert_css')) | |
{ | |
/** | |
* Alerts based on Bootstrap | |
* | |
* session()->setFlashdata('item', alert_css('internal server error')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# DONT FORGET TO BACKUP THE ORIGINAL SCRIPT | |
# NOT EDITED FOR <optgroup ...>...</optgroup> | |
# | |
# TESTING WITH CODEIGNITER 4.0.3 | |
# | |
# open form_helper.php in ../system/Helpers/ | |
# then change : (about line 423) | |
$form .= '<option value="' . htmlspecialchars($key) . '"' |