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
Display "Professional Services" link in the "An error occured" error screen #9677
Conversation
…ured" error screen
Can we somehow respect the users settings to disable these ads there? There's a config setting for it but the config might not exist at the time of calling this method. If the class Config is loadable and a config exists it would be nice to respect it. |
@tsteur I can't display the link conditionally as the testMinimumVersion.php file must be PHP4 compatible, so we can't use Config or read config file... |
Display "Professional Services (Piwik PRO)" link in the "An error occured" error screen
It should work with a |
@tsteur because of namespaces it doens't work, I tried:
but this gives on PHP4
it can be executed on PHP4 here: http://sandbox.onlinephpfunctions.com/code/1d7b8fa8593da5bcf529ad3282b4acc86122ae9e so maybe it's not possible because of namespace? |
I guess we could do a PHP version check or something but not sure. I guess the way to do it would be to put it in |
I can't display the link conditionally as the testMinimumVersion.php file must be PHP4 compatible.