|
@@ 104-108 (lines=5) @@
|
| 101 |
|
// auto crate folders |
| 102 |
|
// $thePath = static::getUploadDir(); |
| 103 |
|
|
| 104 |
|
if (static::getPathStatus('root', true) < 0) { |
| 105 |
|
$thePath = static::getUploadDir(); |
| 106 |
|
$res = static::mkdir($thePath); |
| 107 |
|
$msg = $res ? _AM_PUBLISHER_DIRCREATED : _AM_PUBLISHER_DIRNOTCREATED; |
| 108 |
|
} |
| 109 |
|
|
| 110 |
|
if (static::getPathStatus('images', true) < 0) { |
| 111 |
|
$thePath = static::getImageDir(); |
|
@@ 146-150 (lines=5) @@
|
| 143 |
|
$msg = $res ? _AM_PUBLISHER_DIRCREATED : _AM_PUBLISHER_DIRNOTCREATED; |
| 144 |
|
} |
| 145 |
|
|
| 146 |
|
if (static::getPathStatus('content', true) < 0) { |
| 147 |
|
$thePath = static::getUploadDir(true, 'content'); |
| 148 |
|
$res = static::mkdir($thePath); |
| 149 |
|
$msg = $res ? _AM_PUBLISHER_DIRCREATED : _AM_PUBLISHER_DIRNOTCREATED; |
| 150 |
|
} |
| 151 |
|
} |
| 152 |
|
|
| 153 |
|
public static function buildTableItemTitleRow() |