Pre-Realease Commit

This commit is contained in:
kolaente 2016-10-28 13:43:24 +02:00
parent 60731bd6b4
commit f532fb77fd
5 changed files with 2 additions and 49 deletions

View File

@ -69,8 +69,8 @@ if (isset($_POST['submit']))
$CONFIG['Templating']['tpl_title'] = 'title';
$CONFIG['Templating']['tpl_content'] = 'content';
$CONFIG['Templating']['tpl_webUri'] = 'website_uri';
$CONFIG['Versioning']['version'] = '0.93 Beta';
$CONFIG['Versioning']['version_num'] = 4;
$CONFIG['Versioning']['version'] = '0.94 Beta';
$CONFIG['Versioning']['version_num'] = 5;
$CONFIG['Versioning']['update_uri'] = 'https://cdn.kola-entertainments.de/cms/';
$CONFIG['Mail']['smtp'] = false;

View File

@ -1,13 +0,0 @@
<?php
if(isset($_POST['log_folder']))
{
$CONFIG['General']['log_uri'] = $_POST['log_folder'];
}
else
{
?>
<h2>Logfiles</h2>
<span>Log-Folder</span>
<input type="text" name="log_folder"/>
<?php
}

View File

@ -1,16 +0,0 @@
<?php
if(isset($_POST['submit']))
{
if($db->query('CREATE TABLE `' . $_POST['db_prefix'] . 'meta_meta` (
`name` text NOT NULL,
`content` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;'))
{
echo msg('succes', 'Meta was installed successfully.');
}
else
{
echo msg('fail', 'An error occured while installing Meta.');
exit;
}
}

View File

@ -1,18 +0,0 @@
<?php
if(isset($_POST['submit']))
{
if($db->query('CREATE TABLE `' . $_POST['db_prefix'] . 'sidebar_sidebar` (
`active` tinyint(1) NOT NULL,
`content` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO `' . $_POST['db_prefix'] . 'sidebar_sidebar` (`active`, `content`) VALUES
(0, \'\');'))
{
echo msg('succes', 'Sidebar was installed successfully.');
}
else
{
echo msg('fail', 'An error occured while installing Sidebar.');
exit;
}
}