• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
array in .env file

#1
In App.php there is an array variable:
    public $toolbarCollectors = [
        'CodeIgniter\Debug\Toolbar\Collectors\Timers',
        'CodeIgniter\Debug\Toolbar\Collectors\Database',
        'CodeIgniter\Debug\Toolbar\Collectors\Logs',
        'CodeIgniter\Debug\Toolbar\Collectors\Views',
//        'CodeIgniter\Debug\Toolbar\Collectors\Cache',
        'CodeIgniter\Debug\Toolbar\Collectors\Files',
        'CodeIgniter\Debug\Toolbar\Collectors\Routes',
        'CodeIgniter\Debug\Toolbar\Collectors\Events',
    ];

Is it possible to define an array variable in .env file?
For example:
app.css_files = [
     'bootstrap.css',
     'fontawesome.css',
     'stylesheet.css'
]
or
app.css_files = ['bootstrap.css', 'fontawesome.css', 'stylesheet.css']
Reply


Messages In This Thread
array in .env file - by obozdag - 10-13-2018, 01:04 AM
RE: array in .env file - by sv3tli0 - 10-13-2018, 11:43 PM
RE: array in .env file - by obozdag - 10-14-2018, 09:14 PM
RE: array in .env file - by ciadmin - 10-14-2018, 10:39 PM
RE: array in .env file - by sv3tli0 - 10-15-2018, 03:30 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.