ckgedit icon indicating copy to clipboard operation
ckgedit copied to clipboard

Hardcoded expectation of conf-directory

Open atluxity opened this issue 11 months ago • 1 comments

This file expects the conf-directory to be one place, and one place only. Dokuwiki allows for the config file to be placed elsewhere, for instance /etc/dokuwiki - and has a way for plugins to dynamically reference the set config-path.

https://github.com/turnermm/ckgedit/blob/5b4dbdbe8018f9bf3fba98eddc958af19623f49f/ckeditor/schemes.php#L6

atluxity avatar Jan 07 '25 09:01 atluxity

As a workaround for myself I have set this line to $SCHEMES = '/etc/dokuwiki/scheme.conf'; but this will be overwritten if another admin reinstalles the plugin for some reason, ofc.

atluxity avatar Jan 07 '25 09:01 atluxity