Add 2 more files originating from laravel installation(server.php for local dev web server used by laravel)

This commit is contained in:
DariusIII
2017-08-11 09:28:25 +02:00
parent c12c6066e8
commit 94841f40cb
4 changed files with 38 additions and 1 deletions
+1
View File
@@ -1,4 +1,5 @@
2017-08-11 DariusIII
* Chg: Add 2 more files originating from laravel installation(server.php for local dev web server used by laravel)
* Chg: Increase rsstoken column to varchar(64) to accommodate new api key size
2017-08-10 DariusIII
* Chg: Use Hash facade for password management in Users class
+1 -1
View File
@@ -16,7 +16,7 @@
</last>
</scripts>
<sql>
<db>315</db>
<db>314</db>
<file>315</file>
</sql>
</versions>
+21
View File
@@ -0,0 +1,21 @@
<?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylor@laravel.com>
*/
$uri = urldecode(
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
);
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
// built-in PHP web server. This provides a convenient way to test a Laravel
// application without having installed a "real" web server software here.
if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) {
return false;
}
require_once __DIR__.'/public/index.php';
+15
View File
@@ -0,0 +1,15 @@
const { mix } = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel application. By default, we are compiling the Sass
| file for the application as well as bundling up all the JS files.
|
*/
mix.js('resources/assets/js/app.js', 'public/js')
.sass('resources/assets/sass/app.scss', 'public/css');