Skip to content
New issue

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

Use relative paths for PHP includes #1

Open
toupeira opened this issue Oct 12, 2015 · 0 comments
Open

Use relative paths for PHP includes #1

toupeira opened this issue Oct 12, 2015 · 0 comments

Comments

@toupeira
Copy link

Thanks for maintaining these! Could you use relative paths for the routeros_api.class.php include so it works out of the box?

i.e. instead of

require('/srv/http/munin/ros/routeros_api.class.php');

do

require(dirname(__FILE__) . '/routeros_api.class.php');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant