• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
question : SaaS style URLs , HMVC , Dev Footer

#1
Hi All,

I am starting out in CI4 and have 3 questions :Smile

1.
My project is a SaaS type project and currently in CI3, I use this:

    //if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on"){$ssl_set = "s";} else{$ssl_set = "";}
    //public $baseURL = 'http'.$ssl_set.'://'.$_SERVER['HTTP_HOST'];

but in App.php in CI4, it only  excepts a function or a constant -- so how do I set this up  so that I can use multiple URLs ?

2. 
I currently use the HMVC plugin, so each module currently has its own controllers/models/views
How do I achieve like this in CI4 ? -- a small example if possible ..


3.
How do I get to show that development footer :Smile
Reply


Messages In This Thread
question : SaaS style URLs , HMVC , Dev Footer - by admin0 - 06-15-2018, 12:22 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.