Moved Route.php to src folder

This commit is contained in:
SteamPixel 2020-01-14 11:44:26 +01:00
parent aa76b4f7e9
commit 560f8736c0
4 changed files with 5 additions and 3 deletions

2
.gitignore vendored
View File

@ -7,3 +7,5 @@
# Compser files # Compser files
/vendor/ /vendor/
/test/

View File

@ -13,7 +13,7 @@
"require": {}, "require": {},
"autoload": { "autoload": {
"psr-0": { "psr-0": {
"SteamPixel": "src/" "Steampixel": "src/"
} }
} }
} }

View File

@ -1,10 +1,10 @@
<?php <?php
// Use this namespace // Use this namespace
use SteamPixel\Route; use Steampixel\Route;
// Include router class // Include router class
include 'Route.php'; include 'src/Route.php';
function navi() { function navi() {
echo <<<EOD echo <<<EOD