Skip to content

Instantly share code, notes, and snippets.

@jamalkhan2k6
Created December 10, 2015 16:20
Show Gist options
  • Save jamalkhan2k6/7cbdcf12315c759d0591 to your computer and use it in GitHub Desktop.
Save jamalkhan2k6/7cbdcf12315c759d0591 to your computer and use it in GitHub Desktop.
Default Folder name in filemanager.php
$newdir = str_replace("\\", "/", $upload_dir['basedir'].'/'.$user->user_login.'/');
$newurl = str_replace("\\", "/", $upload_dir['baseurl'].'/'.$user->user_login.'/');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment