Moved Route.php to src folder
This commit is contained in:
parent
aa76b4f7e9
commit
560f8736c0
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -7,3 +7,5 @@
|
||||||
|
|
||||||
# Compser files
|
# Compser files
|
||||||
/vendor/
|
/vendor/
|
||||||
|
|
||||||
|
/test/
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"require": {},
|
"require": {},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": {
|
"psr-0": {
|
||||||
"SteamPixel": "src/"
|
"Steampixel": "src/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user