Skip to content

Static Class loading problem! #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
abmmhasan opened this issue Dec 9, 2018 · 0 comments
Open

Static Class loading problem! #22

abmmhasan opened this issue Dec 9, 2018 · 0 comments

Comments

@abmmhasan
Copy link

abmmhasan commented Dec 9, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant