We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65766ef commit 5622b4fCopy full SHA for 5622b4f
app/Http/Controllers/UserController.php
@@ -17,6 +17,7 @@
17
use App\Models\Button;
18
use App\Models\Link;
19
use App\Models\LinkType;
20
+use App\Models\UserData;
21
22
23
//Function tests if string starts with certain string (used to test for illegal strings)
@@ -542,7 +543,6 @@ public function themeBackground(request $request)
542
543
$customBackground = $request->file('image');
544
545
if (!empty($customBackground)) {
- // Delete existing image
546
$directory = base_path('/img/background-img/');
547
$files = scandir($directory);
548
$pathinfo = "error.error";
@@ -823,4 +823,4 @@ function saveIcon($icon, $link){
823
824
}
825
826
-}
+}
0 commit comments