mirror of
https://github.com/itflow-org/itflow
synced 2026-07-25 09:47:15 +00:00
Rename Functions: flash_alert, sanitizeFilename and display_folder_options using camelCase instead to match other custom php functions
This commit is contained in:
@@ -94,7 +94,7 @@ function redirect($url = null, $permanent = false) {
|
||||
}
|
||||
|
||||
//Flash Alert Function
|
||||
function flash_alert(string $message, string $type = 'success'): void {
|
||||
function flashAlert(string $message, string $type = 'success'): void {
|
||||
$_SESSION['alert_type'] = $type;
|
||||
$_SESSION['alert_message'] = $message;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user