Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: how to disable .env
Post: RE: how to disable .env

Many thanks. Exactly what I was looking for.
3,210 Views
5 Replies
03-16-2021, 03:16 AM
admin0
    Thread: how to disable .env
Post: RE: how to disable .env

thank you for the answer, but the need is to disable someone over-riding parameters from the .env file .. this means even if a .env file is present, CI4 should ignore it completely.
3,210 Views
5 Replies
03-15-2021, 04:14 AM
admin0
    Thread: how to disable .env
Post: how to disable .env

Hi, Is there a way to disable .env from CI4 ? I think there is  a library that enables this .. so just knowing and deleting/disabling the function/class that reads the .env file would be suffici...
3,210 Views
5 Replies
03-15-2021, 02:42 AM
admin0
    Thread: checking if {set randomvar == , + - * % } is in roadmap for the parser/template
Post: checking if {set randomvar == , + - * % } is in ...

Hi, checking if its possible to have a 'set variable and operations' in the parser / template system. example: some_controller ------------------------- $student_names = $controlle...
1,317 Views
0 Replies
05-14-2020, 10:50 AM
admin0
    Thread: Not sure to migrate to CI4
Post: RE: Not sure to migrate to CI4

imabot Wrote: (05-13-2020, 04:12 AM) -- By the way, I use a PHP framework to win time, If I have to restart my work from scratch every time a new version is published ... Not sure it worths using a f...
11,864 Views
15 Replies
05-14-2020, 08:07 AM
admin0
    Thread: muti domain support.
Post: muti domain support.

Hi, In CI3 , it was:     if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") {     $ssl_set = "s";     } else {     $ssl_set = "";     }     */     //$config['base_url'] = 'http...
3,263 Views
3 Replies
02-04-2019, 03:01 AM
admin0
    Thread: HMVC broken in php 7.3 -- help
Post: RE: HMVC broken in php 7.3 -- help

Hi, $pos = strpos($class, $suffix); still returns the same error: Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the c...
37,077 Views
10 Replies
12-14-2018, 10:54 AM
admin0
    Thread: HMVC broken in php 7.3 -- help
Post: RE: HMVC broken in php 7.3 -- help

posting the code in question as well: Quote: -- public function set_class($class) { $suffix = $this->config->item('controller_suffix'); if (strpos($class, $suffix) === FALSE)  // THIS LINE...
37,077 Views
10 Replies
12-13-2018, 10:54 AM
admin0
    Thread: HMVC broken in php 7.3 -- help
Post: HMVC broken in php 7.3 -- help

Hi,  I am using the HMVC and on php7.3, I get this:  Code: -- A PHP Error was encountered Severity: 8192 Message: strpos(): Non-string needles will be interpreted as strings in the future...
37,077 Views
10 Replies
12-13-2018, 10:13 AM
admin0
    Thread: how do I cache multiple databases (dynamic query)
Post: RE: how do I cache multiple databases (dynamic que...

php_rocs Wrote: (07-05-2018, 08:34 AM) -- @admin0, This statement does not look right: CURRENT: $query = $thisdb->query("select count(*) as total from dbname.tablename"); SHOULD BE: $query = $t...
8,988 Views
7 Replies
07-05-2018, 10:11 AM
admin0
    Thread: Show your support!
Post: RE: Show your support!

can we sponsor pizzas/beer to the devs :D ?
82,788 Views
34 Replies
07-05-2018, 07:44 AM
admin0
    Thread: how do I cache multiple databases (dynamic query)
Post: how do I cache multiple databases (dynamic query)

Hi,  I have 4 databases in the config.  my model is something like:  PHP Code: -- function get_total($dbkey){ // this $dbkey is the additioanl databases specified in the config  $thisd...
8,988 Views
7 Replies
07-05-2018, 07:28 AM
admin0
    Thread: question : SaaS style URLs , HMVC , Dev Footer
Post: RE: question : SaaS style URLs , HMVC , Dev Foote...

InsiteFX Wrote: (06-20-2018, 04:08 AM) -- You should not need any of that, the ,htaccess file that comes with CodeIgniter 4 checks all that for you. You should just need to set the base url to the h...
6,514 Views
6 Replies
06-24-2018, 04:34 AM
admin0
    Thread: autoload
Post: RE: autoload

I managed to add this in route $routes->add('user', 'admin0\User\Controllers\User::index'); $routes->add('user/ping', 'admin0\User\Controllers\User::ping'); $routes->add('user/test', 'admin0\Us...
4,938 Views
3 Replies
06-19-2018, 08:02 AM
admin0
    Thread: devbar on 404
Post: devbar on 404

starting CI4 and getting a lot of 404 .. due to lack of enough examples to do stuff ..  is there a possibility to show the dev bar on 404 so that it tells exactly why there is a 404 ?  no erros in...
2,701 Views
1 Replies
06-19-2018, 07:53 AM
admin0
    Thread: autoload
Post: autoload

i am playing with CI4 as well, and also developing in CI3.  In ci4, there is the application/controllers/X.php where i can define controller and call http://localhost/class/method/ and it works fin...
4,938 Views
3 Replies
06-19-2018, 07:46 AM
admin0
    Thread: question : SaaS style URLs , HMVC , Dev Footer
Post: RE: question : SaaS style URLs , HMVC , Dev Foote...

for dynamic URL, in config/autoload.php i find this reference => require_once BASEPATH.'Config/AutoloadConfig.php'; while that file does not exist. I created that AutoloadConfig.php and put t...
6,514 Views
6 Replies
06-19-2018, 06:15 AM
admin0
    Thread: [split] HMVC...
Post: RE: [split] HMVC...

i got it . struggling to make it work :( can someone be kind enough to actually create a github and put some demo like test1, test2, test3 module of how it works . just echo int he result is also ...
5,350 Views
7 Replies
06-16-2018, 10:20 AM
admin0
    Thread: question : SaaS style URLs , HMVC , Dev Footer
Post: RE: question : SaaS style URLs , HMVC , Dev Foote...

InsiteFX Wrote: (06-16-2018, 03:27 AM) -- SEE:  This Website Modules in CodeIgniter 4 (http://blog.newmythmedia.com/blog/show/2016-03-15_Modules_in_CodeIgniter_4) Read all the other Blog post...
6,514 Views
6 Replies
06-16-2018, 04:04 AM
admin0
    Thread: dev bar like in ci4 to ci3 ?
Post: dev bar like in ci4 to ci3 ?

Hi, is it hard to do/implement the dev style bar of ci4 in ci3 ? if its hard, is there anything equivalent that can be used in ci3 ?
2,115 Views
1 Replies
06-15-2018, 05:36 PM
admin0

Theme © iAndrew 2016 - Forum software by © MyBB