boot and liveupdate minor issues

This commit is contained in:
Mike Macgirvin 2023-07-28 08:15:58 +10:00
parent 8fd8023fd2
commit 884961874b
3 changed files with 15 additions and 11 deletions

View file

@ -62,12 +62,6 @@ require_once('include/dba/dba_driver.php');
function sys_boot() {
// Optional startup file for situations which require system
// configuration before anything is executed.
if (file_exists('.htstartup.php')) {
/** @noinspection PhpIncludeInspection */
include('.htstartup.php');
}
if(!file_exists('.htaccess')) {
Stdio::fcopy('htaccess.dist', '.htaccess');
@ -275,6 +269,14 @@ class App {
*/
public static function init() {
// Optional startup file for situations which require system
// configuration before anything is executed.
if (file_exists('.htstartup.php')) {
/** @noinspection PhpIncludeInspection */
include('.htstartup.php');
}
// we'll reset this after we read our config file
date_default_timezone_set('UTC');

View file

@ -165,10 +165,12 @@ a.wall-item-name-link {
cursor: pointer;
}
.wall-item-content {
overflow-y: auto;
max-height: 400px;
}
/*@media screen and (min-width: 992px) {*/
.wall-item-content {
overflow-y: auto;
max-height: 400px;
}
/*}*/
.wall-item-content img {
max-width: 100%;

View file

@ -17,7 +17,7 @@ let last_popup_button = null;
let scroll_next = false;
let next_page = 1;
let page_load = true;
let loadingPage = true;
let loadingPage = false;
let pageHasMoreContent = true;
let divmore_height = 400;
let last_filestorage_id = null;