cleaning code
This commit is contained in:
parent
25d2a113fd
commit
c94c919f94
|
@ -23,8 +23,7 @@ if( Sanitize::pathFile(PATH_THEMES, $Site->theme().DS.'init.php') ) {
|
||||||
// Theme HTML
|
// Theme HTML
|
||||||
if (Sanitize::pathFile(PATH_THEMES, $Site->theme().DS.'index.php')) {
|
if (Sanitize::pathFile(PATH_THEMES, $Site->theme().DS.'index.php')) {
|
||||||
include(PATH_THEMES.$Site->theme().DS.'index.php');
|
include(PATH_THEMES.$Site->theme().DS.'index.php');
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$Language->p('Please check your theme configuration');
|
$Language->p('Please check your theme configuration');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Check if Bludit is installed
|
// Check if Bludit is installed
|
||||||
if( !file_exists('bl-content/databases/site.php') )
|
if (!file_exists('bl-content/databases/site.php')) {
|
||||||
{
|
|
||||||
header('Location:./install.php');
|
header('Location:./install.php');
|
||||||
exit('<a href="./install.php">Install Bludit first.</a>');
|
exit('<a href="./install.php">Install Bludit first.</a>');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue