Closed pf-tech closed 2 years ago
Hello,
Is it possible to access the App\Config file from the public folder? My goal is to set \App\Config::VAR and access it in public\nested_dir.
App\Config
\App\Config::VAR
public\nested_dir
Thanks!
You can either require the class file manually using require, or include Composer's autoloader (as we do in public/index.php)
Hello,
Is it possible to access the
App\Config
file from the public folder? My goal is to set\App\Config::VAR
and access it inpublic\nested_dir
.Thanks!