mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 07:13:59 +01:00
14 lines
534 B
PHP
14 lines
534 B
PHP
<?php
|
|
if (!isset($_SESSION['loggedIn'])) {
|
|
die('Sorry, not logged in.');
|
|
}
|
|
// Purpose: This file is run when a dir is created, has $fileLoc and $fileName strings available to it
|
|
// Langs: PHP (tho can concat JS within $doNext string, see below)
|
|
// Example:
|
|
// $fh = fopen(dirname(__FILE__)."/../file-dir-access.log", 'a');
|
|
// fwrite($fh, "NEW DIR >>> ".date("D dS M Y h:i:sa").": ".$fileLoc."/".$fileName."\n");
|
|
// fclose($fh);
|
|
|
|
// If JS is needed, add within $doNext string below, eg $doNext .= ";alert('new dir');";
|
|
$doNext .= "";
|