diff --git a/app/os/webserver-entrypoint b/app/os/webserver-entrypoint index c5102ca..4c04ede 100644 --- a/app/os/webserver-entrypoint +++ b/app/os/webserver-entrypoint @@ -12,5 +12,8 @@ mkdir -p "/tmp/${DDNINJA_AUTHOR}/${DDNINJA_BUILDNAME}" chown -R www-data:www-data "/tmp/${DDNINJA_AUTHOR}/${DDNINJA_BUILDNAME}" chown -R www-data:www-data /var/log/${DDNINJA_AUTHOR} +mkdir -p "/home/${DDNINJA_AUTHOR}/storage/${DDNINJA_BUILDNAME}/media/" +chown -R www-data:www-data "/home/${DDNINJA_AUTHOR}/storage/${DDNINJA_BUILDNAME}/media/" + asdphp-entrypoint & wait exit $? diff --git a/app/private/lib/BannerHelper.php b/app/private/lib/BannerHelper.php index 09bb54f..722de25 100644 --- a/app/private/lib/BannerHelper.php +++ b/app/private/lib/BannerHelper.php @@ -19,9 +19,7 @@ class BannerHelper { } public static function printBanner($position = BannerModel::POSITION_HEAD){ - $category = BannerModel::GENERAL_CATEGORY; - - $cur = self::getPlaceholderId(); + $cur = self::getPlaceholderId(); if (!array_key_exists($position, self::$positions)) { self::$positions[$position] = []; diff --git a/app/private/lib/gui/GUIHandler.php b/app/private/lib/gui/GUIHandler.php index 17c453f..bffa836 100644 --- a/app/private/lib/gui/GUIHandler.php +++ b/app/private/lib/gui/GUIHandler.php @@ -19,9 +19,7 @@ class GUIHandler { private static $onLoadEvents = array(); public static function generateHtmlHeaders(array $data = array(), $admin = false){ - if ($admin) { - ASDSessionHandler::getSessionId(); - } + ASDSessionHandler::getSessionId(); $conf = GlobalVariables::get("config"); $title = $conf->info->projectName; @@ -222,7 +220,10 @@ class GUIHandler { -
+
+ +