Dump out the exception.
This commit is contained in:
parent
491069540e
commit
7f6672a2d3
@ -44,7 +44,13 @@ foreach($files as $filename) {
|
|||||||
|
|
||||||
// connect to the database
|
// connect to the database
|
||||||
$database = new Database();
|
$database = new Database();
|
||||||
|
try {
|
||||||
$config = new DatabaseConfig($database);
|
$config = new DatabaseConfig($database);
|
||||||
|
}
|
||||||
|
catch(Exception $e)
|
||||||
|
{
|
||||||
|
die(var_dump($e));
|
||||||
|
}
|
||||||
|
|
||||||
// load the theme parts
|
// load the theme parts
|
||||||
foreach(_get_themelet_files(get_theme()) as $themelet) {
|
foreach(_get_themelet_files(get_theme()) as $themelet) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user