diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2004-12-16 22:42:56 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2004-12-16 22:42:56 +0000 |
commit | 065adbe39e61c2b6daa550f2b3b9f634c4db5fdd (patch) | |
tree | c438a678e01ddcbde9822ee093fc51029ff66983 /usr | |
parent | f7cc635840538e0f0985e82704cb82011a6b5e03 (diff) | |
download | pfsense-065adbe39e61c2b6daa550f2b3b9f634c4db5fdd.zip pfsense-065adbe39e61c2b6daa550f2b3b9f634c4db5fdd.tar.gz |
woops! its str_replace not replace.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php index df311c0..6ffebb9 100755 --- a/usr/local/www/pkg_mgr_install.php +++ b/usr/local/www/pkg_mgr_install.php @@ -396,7 +396,7 @@ function add_text_to_file($file, $text) { global $fd_log; fwrite($fd_log, "Adding needed text items:\n"); $filecontents = exec_command_and_return_text("cat " . $file); - $textTMP = replace($text, "", $filecontents); + $textTMP = str_replace($text, "", $filecontents); $text .= $textTMP . $text; fwrite($fd_log, $text . "\n"); $fd = fopen($file, "w"); |