diff --git a/README.md b/README.md index de005a7..673fba1 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ The third argument will match the request method. The default method is 'get'. ## Simple example: ```php use Steampixel\Route; -include 'Route.php'; +include 'src\Steampixel\Route.php'; Route::add('/user/([0-9]*)/edit', function($id) { echo 'Edit user with id '.$id.'
'; diff --git a/index.php b/index.php index 97b5a4a..87c638d 100644 --- a/index.php +++ b/index.php @@ -4,7 +4,7 @@ use Steampixel\Route; // Include router class -include 'src/Route.php'; +include 'src/Steampixel/Route.php'; function navi() { echo <<