Never ending testing ENVIRONMENT |
Can we get rid of some 'ENVIRONMENT ' things in the core ? 24 +4 debugger
Production means PRODUCTION so no more checking ENVIRONMENT inside core PHP Code: if (ENVIRONMENT !== 'testing') quote [b]ciadmin [/b] 'Spark is long dead. Check the date of the tutorials that mention it.' https://forum.codeigniter.com/thread-651...#pid331775 no Spark check in production PHP Code: // Never run filters when running through Spark cli PHP Code: // $this->benchmark->stop('controller_constructor'); is_cli() is needed by my website ? NO but 17 is_cli() switch is performed checks PHP Code: if (is_cli() && ! (ENVIRONMENT === 'testing')) |
Messages In This Thread |
Never ending testing ENVIRONMENT - by tony.a - 05-01-2019, 01:25 AM
RE: Never ending testing ENVIRONMENT - by dave friend - 05-01-2019, 06:08 AM
RE: Never ending testing ENVIRONMENT - by tony.a - 05-01-2019, 06:42 AM
RE: Never ending testing ENVIRONMENT - by kilishan - 05-01-2019, 06:44 AM
RE: Never ending testing ENVIRONMENT - by tony.a - 05-01-2019, 10:38 AM
RE: Never ending testing ENVIRONMENT - by kilishan - 05-01-2019, 11:04 AM
RE: Never ending testing ENVIRONMENT - by tony.a - 05-07-2019, 02:07 PM
RE: Never ending testing ENVIRONMENT - by tony.a - 05-07-2019, 02:13 PM
|