The following warnings/errors are outputted:
Warning: require_once([MY_DIR]\PHPoAuthLib\examples\provider/bootstrap.php): failed to open stream: No such file or directory in[MY_DIR]\PHPoAuthLib\examples\provider\twitter.php on line 20
Fatal error: require_once(): Failed opening required '[MY_DIR]\PHPoAuthLib\examples\provider/bootstrap.php' (include_path='.;C:/laragon/etc/php/pear') in [MY_DIR]\PHPoAuthLib\examples\provider\twitter.php on line 20
Many providers in the example page are not working. For example: http://localhost:8000/provider/twitter.php
The following warnings/errors are outputted:
Warning: require_once([MY_DIR]\PHPoAuthLib\examples\provider/bootstrap.php): failed to open stream: No such file or directory in[MY_DIR]\PHPoAuthLib\examples\provider\twitter.php on line 20
Fatal error: require_once(): Failed opening required '[MY_DIR]\PHPoAuthLib\examples\provider/bootstrap.php' (include_path='.;C:/laragon/etc/php/pear') in [MY_DIR]\PHPoAuthLib\examples\provider\twitter.php on line 20
Not Working: https://github.com/daviddesberg/PHPoAuthLib/blob/master/examples/provider/twitter.php#L20
require_once __DIR__ . '/bootstrap.php';
Working: https://github.com/daviddesberg/PHPoAuthLib/blob/master/examples/provider/google.php#L10
require_once __DIR__ . '/../bootstrap.php';
It seems that "/.." is required but not used in many cases.