Bu kodları silip, sadece aşağıdaki kodları kullanır mısınız?
<?php
if(isset($_GET['lang']) && isset($_GET['s'])){
if(file_exists($_GET['lang'].'/'.$_GET['s'].'.php')){
include_once($_GET['lang'].'/'.$_GET['s'].'.php');
}else{
require_once('tr/1.php');
}
}else{
require_once('tr/1.php');
}
?>