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;