mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Selector de bandera automatico y quitado estilo node-waves
This commit is contained in:
@ -80,7 +80,20 @@ function getAllClass($controller = null){
|
||||
}
|
||||
|
||||
|
||||
// IMN
|
||||
function getCurrentLanguageFlag(){
|
||||
try {
|
||||
$session = session();
|
||||
|
||||
if($session->get('lang') == 'en'){
|
||||
return "fi-gb";
|
||||
}else{
|
||||
return "fi-es";
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
return "fi-es";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function getAllClassFolder($folder = null){
|
||||
|
||||
Reference in New Issue
Block a user