Add 'refresh' button in Glitch Editor

It will helps some people that cannot access Project Terminal for Executing refresh command by adding Refresh Project button inside Editor :wink:

You could make something like that using PHP

Ah yes, I see…
Something like this:

<?php
  refresh;
?>

If this is incorrect, Feel free to fix my code :wink:

yeah, but more like

<?php
exec('refresh');
?>

I don’t think soo if exec in php is function :smiley:

there is functions like mail(who, from, subject, body)

Whew, I’m still Beginner in PHP, and Thanks for Fixing my refresh codes :smiley:

1 Like

You should use lamp-poc to run this all, as well.

1 Like

Lamp-poc is kind of unstable in my opinion. Also, it leaks server logs!

Really???


Yes. Remix lamp-poc and go to PROJECT_DOMAIN.glitch.me/logs/error.log or PROJECT_DOMAIN.glitch.me/logs/access.log. @RiversideRocks was the one who found out about the log leakage.

2 Likes

It is.

1 Like