|
@@ 127-131 (lines=5) @@
|
| 124 |
|
// auto crate folders |
| 125 |
|
// $thePath = static::getUploadDir(); |
| 126 |
|
|
| 127 |
|
if (static::getPathStatus('root', true) < 0) { |
| 128 |
|
$thePath = static::getUploadDir(); |
| 129 |
|
$res = static::mkdir($thePath); |
| 130 |
|
$msg = $res ? _AM_PUBLISHER_DIRCREATED : _AM_PUBLISHER_DIRNOTCREATED; |
| 131 |
|
} |
| 132 |
|
|
| 133 |
|
if (static::getPathStatus('images', true) < 0) { |
| 134 |
|
$thePath = static::getImageDir(); |
|
@@ 169-173 (lines=5) @@
|
| 166 |
|
$msg = $res ? _AM_PUBLISHER_DIRCREATED : _AM_PUBLISHER_DIRNOTCREATED; |
| 167 |
|
} |
| 168 |
|
|
| 169 |
|
if (static::getPathStatus('content', true) < 0) { |
| 170 |
|
$thePath = static::getUploadDir(true, 'content'); |
| 171 |
|
$res = static::mkdir($thePath); |
| 172 |
|
$msg = $res ? _AM_PUBLISHER_DIRCREATED : _AM_PUBLISHER_DIRNOTCREATED; |
| 173 |
|
} |
| 174 |
|
} |
| 175 |
|
|
| 176 |
|
public static function buildTableItemTitleRow() |