Commit d93a194a authored by Nico Schallehn's avatar Nico Schallehn

2. Upload entfernt

parent afd0b9b2
......@@ -1559,14 +1559,14 @@ class Media {
$SFTP_PWD="1nico2%";
shell_exec("lftp sftp://$SFTP_USER:$SFTP_PWD@$SFTP_SERVER -e 'mirror --reverse ".$this->config["CoverDir"]." /var/www/mediadb.ivaya.de/MediaDBViewerAPI/cover; bye'");
echo "Done!".PHP_EOL;
/*
echo "Upload to service.ivaya.de ... ";
$SFTP_SERVER="service.ivaya.de";
$SFTP_USER="osmc";
$SFTP_PWD="1nico2%";
shell_exec("lftp sftp://$SFTP_USER:$SFTP_PWD@$SFTP_SERVER -e 'mirror --reverse ".$this->config["CoverDir"]." /home/osmc/MediaDBPythonScripte/cover; bye'");
echo "Done!".PHP_EOL;
*/
$end = time();
$laufzeit = $end - $start;
$H = floor($laufzeit / 3600);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment