|
@@ 114-118 (lines=5) @@
|
| 111 |
|
// auto crate folders |
| 112 |
|
// $thePath = static::getUploadDir(); |
| 113 |
|
|
| 114 |
|
if (static::getPathStatus('root', true) < 0) { |
| 115 |
|
$thePath = static::getUploadDir(); |
| 116 |
|
$res = static::mkdir($thePath); |
| 117 |
|
$msg = $res ? _AM_PUBLISHER_DIRCREATED : _AM_PUBLISHER_DIRNOTCREATED; |
| 118 |
|
} |
| 119 |
|
|
| 120 |
|
if (static::getPathStatus('images', true) < 0) { |
| 121 |
|
$thePath = static::getImageDir(); |
|
@@ 156-160 (lines=5) @@
|
| 153 |
|
$msg = $res ? _AM_PUBLISHER_DIRCREATED : _AM_PUBLISHER_DIRNOTCREATED; |
| 154 |
|
} |
| 155 |
|
|
| 156 |
|
if (static::getPathStatus('content', true) < 0) { |
| 157 |
|
$thePath = static::getUploadDir(true, 'content'); |
| 158 |
|
$res = static::mkdir($thePath); |
| 159 |
|
$msg = $res ? _AM_PUBLISHER_DIRCREATED : _AM_PUBLISHER_DIRNOTCREATED; |
| 160 |
|
} |
| 161 |
|
} |
| 162 |
|
|
| 163 |
|
public static function buildTableItemTitleRow() |