Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ncphp
/
mcClasses
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0483f85c
authored
Apr 28, 2014
by
sn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mcDir::create --- simple ein dir erstellen
1 parent
12a31286
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
file/class_mcDir.inc.php
include.php
file/class_mcDir.inc.php
0 → 100644
View file @
0483f85
<?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
include.php
View file @
0483f85
...
...
@@ -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'
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment