
 andrew - 2011-02-07 01:37:01
 
Hello,
   i receive errors when someone change manually the lang code. Is there a way not to be possible for someone to change the lang? I have 2 languages en and gr. If someone change the lang lets say to en1 like ?lang=en1 or anything else an error is appearing. 
Warning: fopen(languages/en1.lang) [function.fopen]: failed to open stream: No such file or directory in xxxxxxxxxx/lang.class on line 69
Warning: fclose(): supplied argument is not a valid stream resource in /xxxxxxxxxxon/lang.class  line 81
How can we make the system ignore anything else except en and gr?