Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Form Validation Issue
Post: Form Validation Issue

Hi there, I've been staring at an issue for some hours now. PHP Code: -- # Load dependencies $validation = \Config\Services::validation(); $request = \Config\Services::request(); # Set filter ...
473 Views
1 Replies
12-16-2022, 09:08 AM
rolf
    Thread: Undefined constant "CodeIgniter\Debug\VENDORPATH"
Post: RE: Undefined constant "CodeIgniter\Debug\VENDORPA...

Thanks @"kenjis"
3,242 Views
3 Replies
12-16-2022, 07:07 AM
rolf
    Thread: Undefined constant "CodeIgniter\Debug\VENDORPATH"
Post: Undefined constant "CodeIgniter\Debug\VENDORPATH"

Hi there, Short question;  I've been working a while with CI4 (version 4.2.10) now, and I keep getting the following error on a regular basis; --- Undefined constant "CodeIgniter\Debug\VENDORPATH" ...
3,242 Views
3 Replies
12-16-2022, 03:34 AM
rolf
    Thread: Prohibit access to get_instance() from a view
Post: RE: Prohibit access to get_instance() from a view

Narf Wrote: (11-22-2017, 04:31 AM) -- rolf Wrote: (11-21-2017, 11:51 AM) -- Narf Wrote: (11-21-2017, 10:20 AM) -- rolf Wrote: (11-21-2017, 09:36 AM) -- Narf Wrote: (11-21-2017, 03:00 AM) -- Not p...
15,783 Views
17 Replies
11-22-2017, 05:40 AM
rolf
    Thread: Prohibit access to get_instance() from a view
Post: RE: Prohibit access to get_instance() from a view

ivantcholakov Wrote: (11-21-2017, 01:12 PM) -- There are things to be considered: get_instace() might be used within (custom or not) helper functions that are to be used within a view. Also, some peo...
15,783 Views
17 Replies
11-22-2017, 05:35 AM
rolf
    Thread: Prohibit access to get_instance() from a view
Post: RE: Prohibit access to get_instance() from a view

I tried to find a solution to see where the call made to get_instance() originated from, but there doesn't seem to be any difference between a call made from the view or from the controller belonging ...
15,783 Views
17 Replies
11-21-2017, 12:12 PM
rolf
    Thread: Prohibit access to get_instance() from a view
Post: RE: Prohibit access to get_instance() from a view

Narf Wrote: (11-21-2017, 10:20 AM) -- rolf Wrote: (11-21-2017, 09:36 AM) -- Narf Wrote: (11-21-2017, 03:00 AM) -- Not possible. -- I agree. Even when creating an extension for get_instance(), it'...
15,783 Views
17 Replies
11-21-2017, 11:51 AM
rolf
    Thread: Prohibit access to get_instance() from a view
Post: RE: Prohibit access to get_instance() from a view

ivantcholakov Wrote: (11-21-2017, 05:46 AM) -- @rolf If you find a way to abandon using/parsing PHP for views, then it would be possible. -- Thanks. Yes, I decided to implement Twig in order to ...
15,783 Views
17 Replies
11-21-2017, 09:39 AM
rolf
    Thread: Prohibit access to get_instance() from a view
Post: RE: Prohibit access to get_instance() from a view

Narf Wrote: (11-21-2017, 03:00 AM) -- Not possible. -- I agree. Even when creating an extension for get_instance(), it's still not possible to determine whether a call was being made from the view ...
15,783 Views
17 Replies
11-21-2017, 09:36 AM
rolf
    Thread: Prohibit access to get_instance() from a view
Post: RE: Prohibit access to get_instance() from a view

dave friend Wrote: (11-20-2017, 03:26 PM) -- Why? Are you afraid a developer is going to use it in a view? -- That's the main reason for it indeed. We're working with developers we don't personally...
15,783 Views
17 Replies
11-21-2017, 09:34 AM
rolf
    Thread: Prohibit access to get_instance() from a view
Post: Prohibit access to get_instance() from a view

Hi there, I’m having a small issue with Codeigniter. I would like to prohibit access to CI and the get_instance() from a view. In other words, it should not be possible to access get_instance f...
15,783 Views
17 Replies
11-20-2017, 08:53 AM
rolf
    Thread: Default Codeigniter Email Class
Post: Default Codeigniter Email Class

Hi there, There's an issue with the in-built Codeigniter e-mail class. A while ago I noticed the same problem with the previous versions of Codeigniter (2), but I secretly hoped it would have been ...
2,198 Views
1 Replies
12-02-2015, 04:34 AM
rolf

Theme © iAndrew 2016 - Forum software by © MyBB