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

Upload error on some server configuration #290

Open
morelmm opened this issue Aug 10, 2015 · 0 comments
Open

Upload error on some server configuration #290

morelmm opened this issue Aug 10, 2015 · 0 comments

Comments

@morelmm
Copy link

morelmm commented Aug 10, 2015

core/components/model/gallery/galalbum.php line 202

$targetDir = str_ireplace(MODX_BASE_PATH, '', $this->getPath());

On some servers - like polish home.pl - MODX_BASE_PATH and site root is "/"
then this functions removes all '/' from path, resulting in uploading files to ie. /assetsgallery68

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