-
-
Save Pandahisham/b69d4f4423e3f4a7b26a to your computer and use it in GitHub Desktop.
Allows automatic refresh when saving PHP files. Requires Prepros to be installed on your system.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php //Use with http://alphapixels.com/prepros/ , must be used before any content is output (ie, functions.php) | |
$lastModified=filemtime(__FILE__); | |
header("Last-Modified: ".gmdate("D, d M Y H:i:s", $lastModified)." GMT"); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment