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 path to stylesheet in p01-contact/src/P01contact.php, or make it configurable? #67

Open
ohnonot opened this issue May 7, 2022 · 0 comments

Comments

@ohnonot
Copy link

ohnonot commented May 7, 2022

I'm refering to this line.
On my machine it returns an invalid path (404) because both my server root and the plugin folder are symlinked.

Could this be made user configurable?
I have an implementation in the works in my fork but did not want to mess with this file because I don't know how GetSimple works.

I could imagine something like this:

if (empty($this->ContactStyle)) $this->ContactStyle=SERVER.RELPATH."style.css";
$defaultStyle = '<link rel="stylesheet" href="'.$this->ContactStyle.'"/>';
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