|
@@ -19,6 +19,10 @@ class FileManagerApi
|
|
ShellApi::exec('ln -s ' . $source . ' ' . $destination);
|
|
ShellApi::exec('ln -s ' . $source . ' ' . $destination);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public function fileExists($file)
|
|
|
|
+ {
|
|
|
|
+ return file_exists($file);
|
|
|
|
+ }
|
|
public function filePutContents($file, $data)
|
|
public function filePutContents($file, $data)
|
|
{
|
|
{
|
|
$tempfileName = md5($file . time() . rand(111, 999));
|
|
$tempfileName = md5($file . time() . rand(111, 999));
|