Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Wildcard subdomains
Post: RE: Wildcard subdomains

zahhar Wrote: (02-26-2020, 07:44 AM) -- Smil3y Wrote: (02-25-2020, 09:52 PM) -- @zahhar @jameslittle thanks for the helps guys, however, I found something a little better. $routes->get('/', 'Dash...
2,678 Views
5 Replies
02-26-2020, 12:50 PM
Smil3y
    Thread: Wildcard subdomains
Post: RE: Wildcard subdomains

@zahhar @jameslittle thanks for the helps guys, however, I found something a little better. $routes->get('/', 'Dashboard\Profile::index', ['subdomain' => '*']); This is still working perfectly, ...
2,678 Views
5 Replies
02-25-2020, 09:52 PM
Smil3y
    Thread: Wildcard subdomains
Post: Wildcard subdomains

Hello, I'm creating a project where on user register, they will have their own dynamic subdomain based on the username.  So then, for example, when a user goes to myname.domain.com, it will in real...
2,678 Views
5 Replies
02-25-2020, 10:08 AM
Smil3y
    Thread: Call $this->db from initController in __construct?
Post: Call $this->db from initController in __construct?

Hi, is it possible to use $this->db in controller in __construct function from BaseController? This is my code: PHP Code: -- public function __construct() { $data = []; $dbData = ...
1,728 Views
2 Replies
06-14-2019, 03:54 PM
Smil3y
    Thread: Filter config not working with routes (?)
Post: RE: Filter config not working with routes (?)

About your first question, my logs are completely empty. As for the second question, yes, I created a clean version of CodeIgniter, and still had the same issue.
5,081 Views
5 Replies
06-03-2019, 08:29 PM
Smil3y
    Thread: Filter config not working with routes (?)
Post: Filter config not working with routes (?)

Basically, I have a filter called "sessionCheckGloba", which deals with making sure that a user is logged in prior to accessing a webpage. The config for this filter is the following: PHP Code: --...
5,081 Views
5 Replies
06-03-2019, 06:48 PM
Smil3y
    Thread: Get controller name and method
Post: Get controller name and method

How am I able to get the controller name and method in a filter?
7,091 Views
5 Replies
06-02-2019, 10:59 PM
Smil3y

Theme © iAndrew 2016 - Forum software by © MyBB