123456789101112131415161718 |
- <?php
- require_once('report.php');
- function data_mkdir($path, $newdir){
- // pulisci
- $newdir = basename(trim($newdir));
- $newdirpath = realpath($GLOBALS["conf"]["data_basedir"].DIRECTORY_SEPARATOR.$path).DIRECTORY_SEPARATOR.$newdir;
- report(1, "BABABA ".$newdirpath);
- if (!file_exists($newdirpath)) {
- return mkdir($newdirpath, 0755, false);
- }
- return false;
- }
- ?>
|