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

Hiding path to PHP file #60

Open
ghost opened this issue Jan 17, 2021 · 0 comments
Open

Hiding path to PHP file #60

ghost opened this issue Jan 17, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Jan 17, 2021

Hi - firstly, thanks for writing this - I use it all the time and find it really useful.

When the php-ref output is diplayed, e.g. if I did r($my_array) then in the top-right of the outputted data, I see e.g.

C:\websites\playlist.php:77

On your demo page the line number and file name are not displayed.

I have looked at the settings on the Options part of your instructions page but can't see an option I could use to hide the file name and line number.

Is there a way to hide the info which is displayed in this part of the php-ref output, using an example file path below:

<r data-backtrace="">
	C:\websites\playlist.php:77
</r>

I can see I can hide the path using jQuery - e.g.

$('r[data-backtrace=""]').hide();

However, as that's at the end of the page, I can still see the path to the PHP for a second or two before the path is hidden by the jQuery code.

Thanks

Jim

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

0 participants