Commit 1181c339 authored by Nico Schallehn's avatar Nico Schallehn

test

parent bce891b0
...@@ -181,7 +181,13 @@ class Media { ...@@ -181,7 +181,13 @@ class Media {
echo "Film wurde geprüft".PHP_EOL; echo "Film wurde geprüft".PHP_EOL;
} }
}
}/*else if($action == "nfo"){
if( $this->makeNFO($array, (strlen($value[0])>0?$value[0].'/':'').$value[1], true, true)){
echo "Film wurde geprüft".PHP_EOL;
}
}*/
//TODO Baustelle Ende //TODO Baustelle Ende
} }
$end = time(); $end = time();
...@@ -591,8 +597,8 @@ class Media { ...@@ -591,8 +597,8 @@ class Media {
if(!$CheckOnly){ if(!$CheckOnly){
$Ausgabe = " Ändere (bei ".$Film["imdbID"].") :".PHP_EOL.$changed.PHP_EOL; $Ausgabe = " Ändere (bei ".$Film["imdbID"].") :".PHP_EOL.$changed.PHP_EOL;
echo $Ausgabe; echo $Ausgabe;
echo $SQL.PHP_EOL; //echo $SQL.PHP_EOL;
//TODO SQL Query wieder ausführen!! $mysqli->query($SQL); $mysqli->query($SQL);
file_put_contents("./phpTestout/update.txt", $SQL.PHP_EOL, FILE_APPEND); file_put_contents("./phpTestout/update.txt", $SQL.PHP_EOL, FILE_APPEND);
}else{ }else{
......
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