mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
Unlink TinySpell? tmp files
git-svn-id: http://svn.automattic.com/wordpress/trunk@3879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ab541ae071
commit
608e74150b
@ -44,6 +44,7 @@ class TinyPspellShell {
|
||||
}
|
||||
|
||||
$data = shell_exec($this->cmd);
|
||||
@unlink($this->tmpfile);
|
||||
$returnData = array();
|
||||
$dataArr = preg_split("/\n/", $data, -1, PREG_SPLIT_NO_EMPTY);
|
||||
|
||||
@ -73,6 +74,7 @@ class TinyPspellShell {
|
||||
die("Error opening tmp file.");
|
||||
|
||||
$data = shell_exec($this->cmd);
|
||||
@unlink($this->tmpfile);
|
||||
$returnData = array();
|
||||
$dataArr = preg_split("/\n/", $data, -1, PREG_SPLIT_NO_EMPTY);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user