LRR/NoDirectPhpAcess.php

8 lines
247 B
PHP
Raw Normal View History

<?php
2023-12-05 11:53:52 +08:00
// https://stackoverflow.com/questions/33999475/prevent-direct-url-access-to-php-file
//if (!isset($_SERVER['HTTP_REFERER']) ) {
// /* choose the appropriate page to redirect users */
// die( header( 'location: logout.php' ) );
//}
?>