1
0
mirror of https://github.com/Mowie/Mowie synced 2024-06-19 00:44:08 +00:00

Fixed Installer

This commit is contained in:
kolaente 2016-08-03 00:09:17 +02:00
parent 2f257f2a4c
commit d204bb6430
3 changed files with 7 additions and 5 deletions

View File

@ -1,7 +1,7 @@
<?php <?php
if (isset($_POST['submit'])) if (isset($_POST['submit']))
{ {
$dbtables = "CREATE TABLE IF NOT EXISTS `".$MCONF['db_prefix']."meta` ( /*$dbtables = "CREATE TABLE IF NOT EXISTS `".$MCONF['db_prefix']."meta` (
`meta_name` text NOT NULL, `meta_name` text NOT NULL,
`inhalt` text NOT NULL `inhalt` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1; ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
@ -23,6 +23,6 @@ INSERT INTO `".$MCONF['db_prefix']."meta` (`meta_name`, `inhalt`) VALUES
{ {
echo msg('fail', 'Fehler beim Einrichten des Metamoduls.'); echo msg('fail', 'Fehler beim Einrichten des Metamoduls.');
exit; exit;
} }*/
} }
?> ?>

View File

@ -1,7 +1,7 @@
<?php <?php
if (isset($_POST['submit'])) if (isset($_POST['submit']))
{ {
$dbtables = "CREATE TABLE IF NOT EXISTS `".$MCONF['db_prefix']."sidebar` ( /*$dbtables = "CREATE TABLE IF NOT EXISTS `".$MCONF['db_prefix']."sidebar` (
`aktiv` text NOT NULL, `aktiv` text NOT NULL,
`inhalt_typ` text NOT NULL, `inhalt_typ` text NOT NULL,
`inhalt` text NOT NULL `inhalt` text NOT NULL
@ -18,6 +18,6 @@ INSERT INTO `".$MCONF['db_prefix']."sidebar` (`aktiv`, `inhalt_typ`, `inhalt`) V
{ {
echo msg('fail', 'Fehler beim Einrichten des Sidebarmoduls.'); echo msg('fail', 'Fehler beim Einrichten des Sidebarmoduls.');
exit; exit;
} }*/
} }
?> ?>

View File

@ -1,5 +1,7 @@
<?php <?php
require_once 'Parser.php'; require_once 'Dumper.php';
require_once 'Escaper.php';
require_once 'Inline.php'; require_once 'Inline.php';
require_once 'Parser.php';
require_once 'Unescaper.php'; require_once 'Unescaper.php';
require_once 'Yaml.php'; require_once 'Yaml.php';