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

Bug or a feature? #1

Open
vaxul opened this issue Dec 19, 2016 · 1 comment
Open

Bug or a feature? #1

vaxul opened this issue Dec 19, 2016 · 1 comment

Comments

@vaxul
Copy link

vaxul commented Dec 19, 2016

@clickstorm
From the lines 99 to 115...
https://github.com/clickstorm/cs_cdn/blob/master/Classes/Utility/Basic.php#L99

... the $to and $from are interchanged.

Is it a bug or a feature?

Best regards

vauxl

@vaxul
Copy link
Author

vaxul commented Feb 15, 2017

I mean, currently the settings in TypoScript setup are interchanged:

plugin.tx_cscdn {
	[...]
	settings {
		filters {
			1 {
				replace = fileadmin/_processed_
				to = /absoluteReferencePrefix/fileadmin/_processed_
				cdn = 1
			}
			2 {
				replace = fileadmin/user_upload
				to = /absoluteReferencePrefix/fileadmin/user_upload
				cdn = 1
			}
		}
	}
}

https://github.com/clickstorm/cs_cdn/blob/master/Classes/Utility/Basic.php#L99 is only the result.

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