sylvainjule / kirby-annotator

Kirby field for adding notes to images by pinning them to specific coordinates. Kirby 2 and 3.
MIT License
108 stars 8 forks source link

Remove usage of DS constant #5

Closed Sija closed 5 years ago

Sija commented 5 years ago

This PR resolves error below (Kirby 3.0):

Warning: Use of undefined constant DS - assumed 'DS' (this will throw an Error in a future version of PHP) in /.../vendor/sylvainjule/annotator/config.php on line 37

Warning: Use of undefined constant DS - assumed 'DS' (this will throw an Error in a future version of PHP) in /.../vendor/sylvainjule/annotator/config.php on line 37

Warning: require_once(/.../vendor/sylvainjule/annotatorDSlibDSfieldMethods.php): failed to open stream: No such file or directory in /.../vendor/sylvainjule/annotator/config.php on line 37

Fatal error: require_once(): Failed opening required '/.../vendor/sylvainjule/annotatorDSlibDSfieldMethods.php' (include_path='.:/usr/local/Cellar/php@7.2/7.2.14/share/php@7.2/pear') in /.../vendor/sylvainjule/annotator/config.php on line 37
sylvainjule commented 5 years ago

I (thought I) changed them all a while ago, but forgot I had some here. Thank you!