Implemented 1.2.0-RC5
Also moved index to fuzeworks.php and added some variables to templates.
This commit is contained in:
parent
dbbe6c9d16
commit
37d5ab4b17
|
@ -37,7 +37,7 @@
|
|||
|
||||
<html>
|
||||
<head>
|
||||
<title>FuzeWorks - Home</title>
|
||||
<title><?= $vars['serverName']; ?> - Home</title>
|
||||
<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
|
||||
<style>
|
||||
body {
|
||||
|
@ -60,7 +60,7 @@
|
|||
<div class='col-lg-12 col-md-4 col-sm-12'>
|
||||
<div id='contentPanel' class="panel panel-default" style='display:none'>
|
||||
<div id='1' class="panel-body" style='display:none'>
|
||||
<p class="lead">Welcome to FuzeWorks</p>
|
||||
<p class="lead">Welcome to <?= $vars['serverName']; ?></p>
|
||||
<p>
|
||||
This website is currently under development.
|
||||
</p>
|
||||
|
|
|
@ -15,8 +15,7 @@
|
|||
],
|
||||
"require": {
|
||||
"php": ">=7.1.0",
|
||||
"fuzeworks/webappcomponent": "1.2.0-RC3",
|
||||
"ext-pdo": "*"
|
||||
"fuzeworks/webappcomponent": "1.2.0-RC5"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^7"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
RewriteEngine On
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule (.*) index.php?path=$1 [QSA,L]
|
||||
RewriteRule (.*) fuzeworks.php?path=$1 [QSA,L]
|
|
@ -0,0 +1,45 @@
|
|||
<?php
|
||||
/**
|
||||
* FuzeWorks Application Skeleton.
|
||||
*
|
||||
* The FuzeWorks PHP FrameWork
|
||||
*
|
||||
* Copyright (C) 2013-2019 TechFuze
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*
|
||||
* @author TechFuze
|
||||
* @copyright Copyright (c) 2013 - 2019, TechFuze. (http://techfuze.net)
|
||||
* @license https://opensource.org/licenses/MIT MIT License
|
||||
*
|
||||
* @link http://techfuze.net/fuzeworks
|
||||
* @since Version 0.0.1
|
||||
*
|
||||
* @version Version 1.2.0
|
||||
*/
|
||||
|
||||
use FuzeWorks\Factory;
|
||||
use FuzeWorks\WebComponent;
|
||||
|
||||
/** @var Factory $container */
|
||||
$container = require(dirname(__DIR__) . '/application/bootstrap.php');
|
||||
|
||||
/** @var WebComponent $web */
|
||||
$web = $container->web;
|
||||
$web->routeWebRequest();
|
|
@ -34,9 +34,12 @@
|
|||
* @version Version 1.2.0
|
||||
*/
|
||||
|
||||
/** @var \FuzeWorks\Factory $container */
|
||||
use FuzeWorks\Factory;
|
||||
use FuzeWorks\WebComponent;
|
||||
|
||||
/** @var Factory $container */
|
||||
$container = require(dirname(__DIR__) . '/application/bootstrap.php');
|
||||
|
||||
/** @var \FuzeWorks\WebComponent $web */
|
||||
/** @var WebComponent $web */
|
||||
$web = $container->web;
|
||||
$web->routeWebRequest();
|
Loading…
Reference in New Issue