Skip to content

Commit 6354bc1

Browse files
committed
Correct removal/creation of folders
1 parent f3b81b8 commit 6354bc1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/controllers/FolderController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,8 @@ public function getFolders()
5858
public function getAddfolder()
5959
{
6060
$folder_name = Str::slug(Input::get('name'));
61-
$working_dir = Input::get('dir');
6261

63-
$path = base_path($this->file_location . $working_dir);
62+
$path = base_path($this->file_location);
6463

6564
if (!File::exists($path . "/" . $folder_name))
6665
{

0 commit comments

Comments
 (0)