projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0978ec
)
fix error
author
Alan
<alan@roojs.com>
Wed, 30 Mar 2022 08:32:27 +0000
(16:32 +0800)
committer
Alan
<alan@roojs.com>
Wed, 30 Mar 2022 08:32:27 +0000
(16:32 +0800)
System.php
patch
|
blob
|
history
diff --git
a/System.php
b/System.php
index
25d36c0
..
698257c
100644
(file)
--- a/
System.php
+++ b/
System.php
@@
-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);
}