Skip to content

Commit

Permalink
Merge origin/master
Browse files Browse the repository at this point in the history
  • Loading branch information
webcol authored and webcol committed Mar 25, 2016
2 parents cdd866a + 0533fec commit b073e52
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@
$lang = 'es'; // por defecto el idioma para el app es español puede ser en, bt, de, zh
}

$lang_file = 'lang.'.(empty($lang)?'en':$lang).'.php';
// optimizacion de codigo al evaluar la llamda del archivo lang
/*
switch ($lang) {
case 'en':
$lang_file = 'lang.en.php';
Expand Down Expand Up @@ -130,7 +133,7 @@
$lang_file = 'lang.en.php';
}
*/
include_once RUTA_LENGUAJES . $lang_file;

//FIN LENGUAJES
Expand Down Expand Up @@ -162,4 +165,4 @@
}
catch(Exception $e){
}*/
}*/

0 comments on commit b073e52

Please sign in to comment.