From 8d23b2fa67c0750a8aa592dd8988d2af85615755 Mon Sep 17 00:00:00 2001 From: flashwave Date: Sun, 9 Aug 2015 22:32:58 +0200 Subject: [PATCH] still retarded --- _sakura/changelog.json | 4 ++++ main/settings.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/_sakura/changelog.json b/_sakura/changelog.json index 8eff1de..36db544 100644 --- a/_sakura/changelog.json +++ b/_sakura/changelog.json @@ -1665,6 +1665,10 @@ { "type": "FIX", "change": "Fixed old avatars not getting deleted." + }, + { + "type": "UPD", + "change": "Redid filestructure." } ] diff --git a/main/settings.php b/main/settings.php index b9c3aab..a6f6b67 100644 --- a/main/settings.php +++ b/main/settings.php @@ -243,7 +243,7 @@ if(isset($_REQUEST['request-notifications']) && $_REQUEST['request-notifications case 'avatar': // Set path variables - $filepath = ROOT .'content/images/user/'; + $filepath = ROOT . Configuration::getConfig('user_uploads') .'/'; $filename = $filepath .'avatar_'. Session::$userId; $currfile = !empty($_AVA = Users::getUser(Session::$userId)['userData']['userAvatar']) ? $_AVA : null;