New feature in 3.2: Routes

You could extend Osclass with plugins, and sometimes you need to create a special page, for example to show more options to your users. In previous versions, the url will look like domain.tld/index.php?page=custom&file=your_plugin/page.php which isn’t the prettiest url you could see, and also the file path are visible which is not a problem, but it’s not good. In 3.2 we added “routes” that will transform that ugly url into a more beauty one, like domain.tld/your_plugin_page , they even works with regular expressions to accept variables on the url.

 

If you are a plugin developer, please take a look at the information on the wiki and the example plugin in Github.