You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.
The "Restrict path" option shows an example of using two paths separated by a comma. This isn't working for me no matter how I tried.
Looking at the code I can see the lines in toc.php simply comparing the REQUEST_URI with the restrict_path. It's not iterating over the comma separated list of restricted paths.
Either the example in the comment is wrong and this is only intended to support one restrict path, or the code needs to iterate over the list of paths. The later is much more preferable and useful!
The text was updated successfully, but these errors were encountered:
This is not anything I can update. I just noticed your post due to an alert I have setup for my projects. You can surely try Easy Table of Contents. Honestly, I haven't really tested the restrict path option. It should work. Let me know if it does not, that I can fix.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The "Restrict path" option shows an example of using two paths separated by a comma. This isn't working for me no matter how I tried.
Looking at the code I can see the lines in toc.php simply comparing the REQUEST_URI with the restrict_path. It's not iterating over the comma separated list of restricted paths.
Either the example in the comment is wrong and this is only intended to support one restrict path, or the code needs to iterate over the list of paths. The later is much more preferable and useful!
The text was updated successfully, but these errors were encountered: