Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change upload path when using Widget File Field still leads to 'assets' #78

Open
rizanurhadi opened this issue Jul 7, 2014 · 0 comments

Comments

@rizanurhadi
Copy link

I change upload path from widget parameters into 'images', but it still using 'assets' as upload path.

i modified components/UWfile.php line 60 to this, and it does the job.
[code]
if ($this->_new_file_path){
$this->_new_file_path .= $this->unique_dir($this->_new_file_path).'/';
} else {
$this->_new_file_path = pathinfo($this->_old_file_path, PATHINFO_DIRNAME).'/';
}
[/code]
Sorry, I'm still new to this git hub thingie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant