p01contact icon indicating copy to clipboard operation
p01contact copied to clipboard

Change path to stylesheet in p01-contact/src/P01contact.php, or make it configurable?

Open ohnonot opened this issue 2 years ago • 0 comments

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.'"/>';

ohnonot avatar May 07 '22 14:05 ohnonot