We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When testing with PHPUnit, this doesn't work (from \htdocs\kernel\config.php):
require_once $GLOBALS['xoops']->path('kernel/configoption.php'); require_once $GLOBALS['xoops']->path('kernel/configitem.php');
Changing it to this, made it work:
require_once __DIR__ . '/configoption.php'; require_once __DIR__ . '/configitem.php';
Should we change it everywhere to this? Or are the reason to not to do it, and is there a workaround for PHPUnit?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When testing with PHPUnit, this doesn't work (from \htdocs\kernel\config.php):
Changing it to this, made it work:
Should we change it everywhere to this? Or are the reason to not to do it, and is there a workaround for PHPUnit?
The text was updated successfully, but these errors were encountered: