Jump to content

Allow Routes To Be Set Via Interface


Blesta Addons

Recommended Posts

Hello

 

it would be fantastic to add option to add our own routes in admin interface . also to allow plugins set thier own route without the need to change the route.php in conig folder .

 

 

the route.php  should be updated to fetch routes from database and set them in the end of the file .

 

 

 

 

 

 

 

Link to comment
Share on other sites

If the intention is to update the routes.php configuration, then the file itself will need to be updated, or you would need to use vQmod. Alternatively, you could build routes into an .htaccess.

 

changing route in routes.php is fine, but we should every upgrade re-add our routes .

 

the idea is nice if the additional routes can be rerieved from databse .

 

that way we can controle routes totally without touching any core file .

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...