xampp index page and lang.tmp
Posted: 20. June 2008 15:11
I got errors on index page (localhost or admin button or /htdocs/xampp/index.php to be more clear). Few days ago was working right.
The problem is the lang.tmp file. Almost every cleaning tool delete .tmp files, and that was what happened to me.
So the first 7 lines of the index.php page of xampp could be changed this way:
avoiding error if lang.tmp is not existing.
The problem is the lang.tmp file. Almost every cleaning tool delete .tmp files, and that was what happened to me.
So the first 7 lines of the index.php page of xampp could be changed this way:
- Code: Select all
if(file_exists('lang.tmp')){
if(file_get_contents("lang.tmp")==""){
header("Location: splash.php");
exit();
}
}
else{
header("Location: splash.php");
exit();
}
avoiding error if lang.tmp is not existing.