Skip to content
This repository was archived by the owner on Jan 5, 2025. It is now read-only.

Commit 7314aa9

Browse files
authored
Merge pull request #3 from akordecki/dev-master
thanks. updated notification types to bootstrap names
2 parents 520f6ed + 74af706 commit 7314aa9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/App.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static function start()
5050
}
5151

5252
// these take multiple paths
53-
$language = $f3->get('LANGUAGE');
53+
$language = substr($f3->get('LANGUAGE'),0,2);
5454
foreach (['LOCALES', 'UI'] as $key) {
5555
$paths = $f3->get($key);
5656
// remove any invalid dirs

src/Helpers/Notifications.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Notifications extends \Prefab
1616

1717
public static $types = [
1818
'success',
19-
'error',
19+
'danger',
2020
'warning',
2121
'info',
2222
'debug'

0 commit comments

Comments
 (0)