Changeset 3879
- Timestamp:
- 06/15/2006 09:28:08 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/tinymce/plugins/spellchecker/classes/TinyPspellShell.class.php
r3664 r3879 28 28 29 29 $this->tmpfile = tempnam($config['tinypspellshell.tmp'], "tinyspell"); 30 30 $this->cmd = "cat ". $this->tmpfile ." | " . $config['tinypspellshell.aspell'] . " -a --lang=". $this->lang; 31 31 } 32 32 … … 45 45 46 46 $data = shell_exec($this->cmd); 47 @unlink($this->tmpfile); 47 48 $returnData = array(); 48 49 $dataArr = preg_split("/\n/", $data, -1, PREG_SPLIT_NO_EMPTY); … … 74 75 75 76 $data = shell_exec($this->cmd); 77 @unlink($this->tmpfile); 76 78 $returnData = array(); 77 79 $dataArr = preg_split("/\n/", $data, -1, PREG_SPLIT_NO_EMPTY);
Note: See TracChangeset
for help on using the changeset viewer.