fix error
authorAlan <alan@roojs.com>
Wed, 30 Mar 2022 08:32:27 +0000 (16:32 +0800)
committerAlan <alan@roojs.com>
Wed, 30 Mar 2022 08:32:27 +0000 (16:32 +0800)
System.php

index 25d36c0..698257c 100644 (file)
@@ -636,7 +636,7 @@ class System
     static function rename($src, $dest)
     {
         if (file_exists($src)) {
-            trigger_error("Rename source location does not exist",E_FATAL);
+            trigger_error("Rename source location does not exist",E_USER_ERROR);
         }
         $cmd = System::which('mv') . ' ' . escapeshellarg($src) . ' ' . escapeshellarg($dest);
     }