| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 542d433 commit 7e239af
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,6 +27,8 @@ function navi() { | |||
| 27 | 27 | <li><a href="'.BASEPATH.'test.html">test.html</a></li> | |
| 28 | 28 | <li><a href="'.BASEPATH.'blog/how-to-use-include-example">How to push data to included files</a></li> | |
| 29 | 29 | <li><a href="'.BASEPATH.'phpinfo">PHP Info</a></li> | |
| 30 | + <li><a href="'.BASEPATH.'äöü">Non english route: german</a></li> | ||
| 31 | + <li><a href="'.BASEPATH.'الرقص-العربي">Non english route: arabic</a></li> | ||
| 30 | 32 | <li><a href="'.BASEPATH.'aTrailingSlashDoesNotMatter">aTrailingSlashDoesNotMatter</a></li> | |
| 31 | 33 | <li><a href="'.BASEPATH.'aTrailingSlashDoesNotMatter/">aTrailingSlashDoesNotMatter/</a></li> | |
| 32 | 34 | <li><a href="'.BASEPATH.'theCaseDoesNotMatter">theCaseDoesNotMatter</a></li> | |
@@ -120,9 +122,16 @@ function navi() { | |||
| 120 | 122 | echo 'This is the second match (This route should only work in multi match mode) <br>'; | |
| 121 | 123 | }); | |
| 122 | 124 | ||
| 123 | - // Route with non english letters | ||
| 125 | + // Route with non english letters: german example | ||
| 124 | 126 | Route::add('/äöü', function() { | |
| 125 | - echo 'Non english letters should work too <br>'; | ||
| 127 | + navi(); | ||
| 128 | + echo 'German example. Non english letters should work too <br>'; | ||
| 129 | + }); | ||
| 130 | + | ||
| 131 | + // Route with non english letters: arabic example | ||
| 132 | + Route::add('/الرقص-العربي', function() { | ||
| 133 | + navi(); | ||
| 134 | + echo 'Arabic example. Non english letters should work too <br>'; | ||
| 126 | 135 | }); | |
| 127 | 136 | ||
| 128 | 137 | // Trailing slash example | |
| Back | FazBrowse Home | New Git URL |
0 commit comments