Пример #1
0
 /**
  * Make a directory
  *
  * @access public
  *
  * @param $path file path
  * @param $mode directory mode
  */
 function mkdir($path, $mode)
 {
     Log::in("MKDIR");
     /* Check for passthru */
     if (PassThru::check($path)) {
         $ret = PassThru::mkdir($path, $mode);
     } else {
         /* Ok, we can only make categories, let mknod do this */
         $pi = Query::pathInfo($path);
         $ret = Query::mknod($pi);
     }
     Log::out("MKDIR");
     return $ret;
 }