Skip to content

Commit

Permalink
Moved Route.php to src folder
Browse files Browse the repository at this point in the history
  • Loading branch information
steampixel committed Jan 14, 2020
1 parent aa76b4f commit 560f873
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@

# Compser files
/vendor/

/test/
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"require": {},
"autoload": {
"psr-0": {
"SteamPixel": "src/"
"Steampixel": "src/"
}
}
}
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

// Use this namespace
use SteamPixel\Route;
use Steampixel\Route;

// Include router class
include 'Route.php';
include 'src/Route.php';

function navi() {
echo <<<EOD
Expand Down
File renamed without changes.

0 comments on commit 560f873

Please sign in to comment.