summaryrefslogtreecommitdiffstats
path: root/usr/local/sbin/pfSsh.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/sbin/pfSsh.php')
-rwxr-xr-xusr/local/sbin/pfSsh.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/sbin/pfSsh.php b/usr/local/sbin/pfSsh.php
index 973c1dc..16edc84 100755
--- a/usr/local/sbin/pfSsh.php
+++ b/usr/local/sbin/pfSsh.php
@@ -276,7 +276,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) {
OpenPOWER on IntegriCloud