Closed diplix closed 10 years ago
on a hosted envirnonment with PHP Version 5.2.17 there's no __DIR__ (http://stackoverflow.com/questions/7452708/dir-manipulation-dir-not-working) and if you substitute __DIR__ with dirname(__FILE__) autoload_real.php aborts with a parse error.
__DIR__
dirname(__FILE__)
composer requires PHP 5.3.2+, reclaim requires 5.2.4+ — i don't know if that's a too high or OK requirement. i guess it's OK.
anyways, we should prettify this error, so that the user doesn't get a
Fatal error: Class 'reclaim_module' not found in /homepages/24/xxx/wp-content/plugins/reclaim/mods/bookmarks.class.php on line 19
but a
reclaim social media requires that you run PHP ≥ 5.2.4. (you are using PHP 5.2.17)
added a warning. not very beautiful, but seems to work.
on a hosted envirnonment with PHP Version 5.2.17 there's no
__DIR__
(http://stackoverflow.com/questions/7452708/dir-manipulation-dir-not-working) and if you substitute__DIR__
withdirname(__FILE__)
autoload_real.php aborts with a parse error.composer requires PHP 5.3.2+, reclaim requires 5.2.4+ — i don't know if that's a too high or OK requirement. i guess it's OK.
anyways, we should prettify this error, so that the user doesn't get a
but a