|
@@ -6,7 +6,7 @@
|
|
|
|
|
|
<?php
|
|
|
|
|
|
- set_include_path('/var/www/sdsstatus/');
|
|
|
+ set_include_path('');
|
|
|
|
|
|
include('Net/SSH2.php');
|
|
|
$ssh = new Net_SSH2('141.52.188.80');
|
|
@@ -20,7 +20,7 @@
|
|
|
exit('Login Failed');
|
|
|
}
|
|
|
|
|
|
- foreach (glob("/var/www/sdsstatus/fluxtube/*") as $file)
|
|
|
+ foreach (glob("fluxtube/*") as $file)
|
|
|
{
|
|
|
$fp = fopen($file, "r+");
|
|
|
|
|
@@ -79,7 +79,7 @@
|
|
|
}
|
|
|
|
|
|
/*
|
|
|
- foreach (glob("/var/www/sdsstatus/fluxtube/*") as $file)
|
|
|
+ foreach (glob("fluxtube/*") as $file)
|
|
|
{
|
|
|
$fp = fopen($file, "r+");
|
|
|
if (fread($fp, filesize($file)) == "")
|