mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
17 lines
499 B
PHP
17 lines
499 B
PHP
<?php
|
|
if (! defined('DB_NAME')) exit('No direct script access allowed');
|
|
|
|
// add app softwarebereitstellung
|
|
if($result = $db->db_query("SELECT 1 FROM system.tbl_app WHERE app='softwarebereitstellung'"))
|
|
{
|
|
if($db->db_num_rows($result) === 0)
|
|
{
|
|
$qry = "INSERT INTO system.tbl_app (app) VALUES('softwarebereitstellung');";
|
|
|
|
if(!$db->db_query($qry))
|
|
echo '<strong>System Tabelle app: '.$db->db_last_error().'</strong><br>';
|
|
else
|
|
echo '<br>app softwarebereitstellung hinzugefuegt<br>';
|
|
}
|
|
}
|