From cace1a6f97c22d56313097e0c1faf057bda019d5 Mon Sep 17 00:00:00 2001 From: Koen Punt Date: Sat, 8 Mar 2014 11:35:47 +0100 Subject: [PATCH] Moved example --- README.md | 2 +- .htaccess => examples/basic/.htaccess | 0 index.php => examples/basic/index.php | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename .htaccess => examples/basic/.htaccess (100%) rename index.php => examples/basic/index.php (100%) diff --git a/README.md b/README.md index 483cf19..cb2acb3 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ AltoRouter is a small but powerful routing class for PHP 5.3+, heavily inspired 2. Install AltoRouter using Composer or manually 2. Setup URL rewriting so that all requests are handled by **index.php** 3. Create an instance of AltoRouter, map your routes and match a request. -4. Have a look at the example `index.php` file for a better understanding on how to use AltoRouter(index.php). +4. Have a look at the basic example in the `examples` directory for a better understanding on how to use AltoRouter. ## Routing ```php diff --git a/.htaccess b/examples/basic/.htaccess similarity index 100% rename from .htaccess rename to examples/basic/.htaccess diff --git a/index.php b/examples/basic/index.php similarity index 100% rename from index.php rename to examples/basic/index.php