diff options
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/sbin/pfSsh.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/sbin/pfSsh.php b/usr/local/sbin/pfSsh.php index 9c6cb6d..1e124bc 100755 --- a/usr/local/sbin/pfSsh.php +++ b/usr/local/sbin/pfSsh.php @@ -284,7 +284,9 @@ function str_replace_all($search,$replace,$subject) { function playback_text($playback_file_contents) { $playback_file_split = split("\n", $playback_file_contents); - $playback_text = ""; + $playback_text = "require_once('functions.inc');\n"; + $playback_text .= "require_once('globals.inc');\n"; + $playback_text .= "require_once('config.inc');\n"; $toquote = '"'; $toquotereplace = '\\"'; foreach($playback_file_split as $pfs) { |