Frio: add login background color admin option

This commit is contained in:
fabrixxm 2018-01-17 16:33:27 +01:00
parent 2c8bbea65d
commit fc8e8feec1
5 changed files with 34 additions and 17 deletions

View file

@ -34,8 +34,8 @@ function home_content(App $a) {
$customhome = False;
$defaultheader = '<h1>'.((x($a->config,'sitename')) ? sprintf(t("Welcome to %s"), $a->config['sitename']) : "").'</h1>';
$homefilepath = $a->basepath . '/home.html';
$cssfilepath = $a->basepath . '/home.css';
$homefilepath = $a->basepath . "/home.html";
$cssfilepath = $a->basepath . "/home.css";
if (file_exists($homefilepath)) {
$customhome = $homefilepath;
if (file_exists($cssfilepath)) {