Welcome Guest, Not a member yet? Register   Sign In
Routing with variables
#12

(This post was last modified: 11-18-2021, 08:18 AM by captain-sensible. Edit Reason: extra )

yes @InsiteFX i pointed that out in #2 then forgot in #6 i guess i have a short term memory problem developing ?

whats the base url set to in app/Config/App.php ?

mine on local dev is ;:
Code:
public $baseURL = 'http://127.0.0.2/';

you see that forward slash on the end .

None of my routes have a "/" at beginning


A route should be setting up url on left then determining on right what class and method to use , so surely Class::method is all thats needed ?
CMS CI4 A CMS system, runs out of the box written on top of CI4
Arch Book  CodeIgniter4 on Apache(pages 92-114) 
Reply


Messages In This Thread
Routing with variables - by chakycool - 11-18-2021, 01:17 AM
RE: Routing with variables - by captain-sensible - 11-18-2021, 01:27 AM
RE: Routing with variables - by seunex - 11-18-2021, 01:27 AM
RE: Routing with variables - by captain-sensible - 11-18-2021, 01:31 AM
RE: Routing with variables - by chakycool - 11-18-2021, 02:04 AM
RE: Routing with variables - by captain-sensible - 11-18-2021, 02:32 AM
RE: Routing with variables - by chakycool - 11-18-2021, 02:46 AM
RE: Routing with variables - by captain-sensible - 11-18-2021, 03:07 AM
RE: Routing with variables - by chakycool - 11-18-2021, 03:36 AM
RE: Routing with variables - by InsiteFX - 11-18-2021, 03:51 AM
RE: Routing with variables - by chakycool - 11-18-2021, 03:58 AM
RE: Routing with variables - by captain-sensible - 11-18-2021, 08:11 AM
RE: Routing with variables - by chakycool - 11-21-2021, 01:47 AM
RE: Routing with variables - by iRedds - 11-23-2021, 10:10 PM
RE: Routing with variables - by chakycool - 11-24-2021, 04:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB