1
0
mirror of https://github.com/Mowie/Mowie synced 2024-06-15 23:14:09 +00:00
Mowie/apps/meta/install.php
2016-08-03 00:09:17 +02:00

28 lines
697 B
PHP
Executable File

<?php
if (isset($_POST['submit']))
{
/*$dbtables = "CREATE TABLE IF NOT EXISTS `".$MCONF['db_prefix']."meta` (
`meta_name` text NOT NULL,
`inhalt` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
INSERT INTO `".$MCONF['db_prefix']."meta` (`meta_name`, `inhalt`) VALUES
('generator', 'Kolacms'),
('author', 'Kola Entertainments'),
('languange', ''),
('Organization', 'Kola Entertainments'),
('Description', ''),
('Keywords', ''),
('Language', 'de');";
$dbtables = $DBH->prepare($dbtables);
if($dbtables->execute())
{
echo msg('succes', 'Das Metamodul wurde erfolgreich eingerichtet.<br/>');
}
else
{
echo msg('fail', 'Fehler beim Einrichten des Metamoduls.');
exit;
}*/
}
?>