Created
November 30, 2011 08:28
-
-
Save tomefer/1408431 to your computer and use it in GitHub Desktop.
WTF is this shit?
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
<?php | |
if($_GET['lan']){ | |
$_SESSION["idioma_s"]=$_GET["lan"]; | |
} | |
$lg=$_SESSION["idioma_s"]; | |
if($lg=="ESP" ||$lg=="ENG"){ | |
include($lg.”.inc.php”); | |
} | |
else{ | |
$lg=”ESP”;include($lg.”.inc.php”); | |
} | |
?> |
En general funciona todo (ya lo hacía el viernes)
imagino que no me saldrán los warnigns por tenerlos desactivados...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pero a ti este te rula en tu pc?
Igual es que tienes lo warnings desactivados o algo, esq eso intenta incluir ESP.inc.php en /lib/ y tal archivo no existe...