Commit 0483f85c by sn

mcDir::create --- simple ein dir erstellen

1 parent 12a31286
Showing with 12 additions and 0 deletions
<?php
class mcDir {
public static function create($param_path) {
$return = mkdir($param_path, 0700, true);
// $order = 'mkdir ( '.$param_path.', 0777 , '.true.' )';
// $return = mcBash::exec($order);
D::fe($return, $order);
return $return;
}
}
\ No newline at end of file
......@@ -26,6 +26,7 @@
require_once $__PATH_to_mcClasses . 'class_mcMail.inc.php';
require_once $__PATH_to_mcClasses . 'class_mcConfig.inc.php';
require_once $__PATH_to_mcClasses . 'file/class_mcFile.inc.php';
require_once $__PATH_to_mcClasses . 'file/class_mcDir.inc.php';
require_once $__PATH_to_mcClasses . 'file/class_mcSvg.inc.php';
require_once $__PATH_to_mcClasses . 'file/class_mcInkscape.inc.php';
require_once $__PATH_to_mcClasses . 'file/class_mcCairoSvg.inc.php';
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!