More debugging.

This commit is contained in:
jgen 2014-02-22 18:52:23 -05:00
parent 13e844a2f7
commit aca6caa91a

View File

@ -117,6 +117,8 @@ function eok($name, $value) {
// }}} // }}}
function do_install() { // {{{ function do_install() { // {{{
print(var_dump($_POST));
if(file_exists("data/config/auto_install.conf.php")) { if(file_exists("data/config/auto_install.conf.php")) {
require_once "data/config/auto_install.conf.php"; require_once "data/config/auto_install.conf.php";
install_process(); install_process();
@ -329,6 +331,8 @@ EOD;
} }
catch(PDOException $e) catch(PDOException $e)
{ {
print "DATABASE_DSN = '" + DATABASE_DSN + "'";
print <<<EOD print <<<EOD
<div id="installer"> <div id="installer">
<h1>Shimmie Installer</h1> <h1>Shimmie Installer</h1>
@ -338,7 +342,6 @@ EOD;
<br/><br/> <br/><br/>
</div> </div>
EOD; EOD;
print "DATABASE_DSN = '" + DATABASE_DSN + "'";
exit($e->getMessage()); exit($e->getMessage());
} }
catch (Exception $e) catch (Exception $e)