Prüfen, ob Datei bei Anzeige existiert
This commit is contained in:
@ -37,6 +37,11 @@ require_once "../language/german.inc.php";
|
||||
or die ("Cannot execute query1");
|
||||
|
||||
while ($row = $result->fetch_array()){
|
||||
if (file_exists($row['filename'])) {
|
||||
$row['file_exists'] = '1';
|
||||
} else {
|
||||
$row['file_exists'] = '0';
|
||||
}
|
||||
$value[] = $row;
|
||||
}
|
||||
$smarty->assign('table_data', $value);
|
||||
|
Reference in New Issue
Block a user