Welcome Guest, Not a member yet? Register   Sign In
Search Results
  Star Thread: Reload .env file in runtime
Post: RE: Reload .env file in runtime

kenjis Wrote: (08-25-2024, 02:21 AM) -- The solution is not to call config(\Config\Database::class) before reloading dot env file. -- Wow..Great.. thanks Kenji .. its work.. the command  ('confi...
951 Views
5 Replies
08-25-2024, 03:48 AM
dhiya as
  Photo Thread: Reload .env file in runtime
Post: RE: Reload .env file in runtime

kenjis Wrote: (08-24-2024, 07:45 PM) -- Try PHP Code: -- (new DotEnv($paths->appDirectory . '/../'))->load(); -- -- hi kenjis..i have try that..but not work.. DotEnv successfuly load the new .env,...
951 Views
5 Replies
08-25-2024, 12:07 AM
dhiya as
    Thread: Reload .env file in runtime
Post: Reload .env file in runtime

hi.. is it possible to reload the .env in runtime? or is there a function I can use to reload the .env? i have create new command in spark to installation my project, with extend class BaseCom...
951 Views
5 Replies
08-24-2024, 12:19 AM
dhiya as
  Thumbs Up Thread: Ci4, CLI Spark Run Standart Command Terminal
Post: RE: Ci4, CLI Spark Run Standart Command Terminal

kenjis Wrote: (05-05-2024, 12:54 AM) -- The following script may be useful for you. https://github.com/codeigniter4/translations/blob/develop/bin/test -- Greate..thanks Kenji.. its work..
984 Views
4 Replies
05-06-2024, 12:08 AM
dhiya as
  Photo Thread: Ci4, CLI Spark Run Standart Command Terminal
Post: RE: Ci4, CLI Spark Run Standart Command Terminal

codeus Wrote: (05-04-2024, 11:36 AM) -- For commands such as cd and composer, it would easiest to use a shell, which of course will run spark command also. If you are using OSX / linux / unix, the...
984 Views
4 Replies
05-04-2024, 01:51 PM
dhiya as
    Thread: Ci4, CLI Spark Run Standart Command Terminal
Post: Ci4, CLI Spark Run Standart Command Terminal

hi, is there a function/feature to run the command line outside the spark command? I am creating an application installation feature via the spark CLI,  I want to run several commands such as  "c...
984 Views
4 Replies
05-03-2024, 11:38 PM
dhiya as
  Thumbs Up Thread: CI4 ,Change Log Message FileHandler
Post: RE: CI4 ,Change Log Message FileHandler

kenjis Wrote: (11-16-2023, 02:51 AM) -- @"dhiya as" The feature has been implemented in 4.5 branch. https://github.com/codeigniter4/CodeIgniter4/pull/8108 -- ok,,thank you kenjis..
1,757 Views
6 Replies
11-16-2023, 06:55 AM
dhiya as
    Thread: CI4 ,Change Log Message FileHandler
Post: RE: CI4 ,Change Log Message FileHandler

kenjis Wrote: (11-16-2023, 01:41 AM) -- Extend Logger. See https://codeigniter4.github.io/CodeIgniter4/extending/core_classes.html -- thans kenjis , before i extend the logger, just a suggesti...
1,757 Views
6 Replies
11-16-2023, 02:09 AM
dhiya as
    Thread: CI4 ,Change Log Message FileHandler
Post: RE: CI4 ,Change Log Message FileHandler

kenjis Wrote: (11-12-2023, 03:10 AM) -- If you want to know the 404 URI, I recommend you see Web server log files. If you remove 404 from $ignoreCodes in Config/Exceptions.php, the 404 Exception w...
1,757 Views
6 Replies
11-16-2023, 01:31 AM
dhiya as
    Thread: CI4 ,Change Log Message FileHandler
Post: CI4 ,Change Log Message FileHandler

hi,  how to change log message when page not found? into the log file , message "Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver."  i want to change the message include ur...
1,757 Views
6 Replies
11-11-2023, 04:14 PM
dhiya as

Theme © iAndrew 2016 - Forum software by © MyBB