forked from Cavemanon/cavepaintings
Whenever we display an image for any reason, show the admin block, fixes #621
This commit is contained in:
@@ -59,7 +59,8 @@ function install()
|
||||
function get_dsn()
|
||||
{
|
||||
if (getenv("INSTALL_DSN")) {
|
||||
$dsn = getenv("INSTALL_DSN");;
|
||||
$dsn = getenv("INSTALL_DSN");
|
||||
;
|
||||
} elseif (@$_POST["database_type"] == DatabaseDriver::SQLITE) {
|
||||
/** @noinspection PhpUnhandledExceptionInspection */
|
||||
$id = bin2hex(random_bytes(5));
|
||||
|
Reference in New Issue
Block a user