Don't forget new lines on error.

This commit is contained in:
Michael Save 2012-03-18 00:36:51 +11:00
parent c36d654a08
commit 7d39384581

View File

@ -20,10 +20,10 @@ elseif(file_exists('Tinyboard') && is_dir('Tinyboard') && file_exists('Tinyboard
elseif(file_exists('../inc/functions.php'))
$dir = '..';
else
die('Could not locate Tinyboard directory!');
die("Could not locate Tinyboard directory!\n");
if($dir && !chdir($dir))
die('Could not change directory to ' . $dir . '!');
die("Could not change directory to {$dir}\n");
if(!getenv('TINYBOARD_PATH')) {
// follow symlink