Files
ICEcoder/processes/on-get-remote-file.php
Rafael Rotelok 51ab472142 PSR-2 Compliance, removing the closing tag ( ?> ) on php only files
inserting a blank line on the end of php only files
2018-06-16 00:19:49 -03:00

11 lines
361 B
PHP

<?php
if (!isset($_SESSION['loggedIn'])) {
die('Sorry, not logged in.');
}
// Purpose: This file is run when a remote file is loaded, has $file string available to it
// Langs: PHP only
// Example:
// $fh = fopen(dirname(__FILE__)."/../file-dir-access.log", 'a');
// fwrite($fh, "GET REMOTE FILE >>> ".date("D dS M Y h:i:sa").": ".$file."\n");
// fclose($fh);