|
|
|
@ -78,11 +78,9 @@ class Diagnoser |
|
|
|
|
{ |
|
|
|
|
$array = array(); |
|
|
|
|
$writable_folders = array( |
|
|
|
|
'archive', |
|
|
|
|
'courses', |
|
|
|
|
'home', |
|
|
|
|
'main/upload/users/', |
|
|
|
|
'main/default_course_document/images/' |
|
|
|
|
'data/', |
|
|
|
|
'main/upload/users/' |
|
|
|
|
|
|
|
|
|
); |
|
|
|
|
foreach ($writable_folders as $index => $folder) { |
|
|
|
|
$writable = is_writable(api_get_path(SYS_PATH) . $folder); |
|
|
|
@ -609,7 +607,8 @@ class Diagnoser |
|
|
|
|
$formatter, |
|
|
|
|
$comment, |
|
|
|
|
$img_path = null |
|
|
|
|
) { |
|
|
|
|
) |
|
|
|
|
{ |
|
|
|
|
switch ($status) { |
|
|
|
|
case self :: STATUS_OK : |
|
|
|
|
$img = 'bullet_green.gif'; |
|
|
|
|