Aura.Autoload icon indicating copy to clipboard operation
Aura.Autoload copied to clipboard

Static Class loading problem!

Open abmmhasan opened this issue 5 years ago • 0 comments

How can I load a static class? Like I wanna use

use \Config;
Config::Value('TEST'); //Which will give a value of TEST

currently it giving following error

Fatal error:  Uncaught Error: Class 'Config' not found in ..\system.php:4
Stack trace:
#0 ..\index.php(4): require()
#1 {main}
  thrown in ..\system.php on line 4

Path has been truncated.

abmmhasan avatar Dec 09 '18 07:12 abmmhasan