Skip to content
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

Проблема с autoload #5

Open
MonroeRenard opened this issue Oct 16, 2015 · 1 comment
Open

Проблема с autoload #5

MonroeRenard opened this issue Oct 16, 2015 · 1 comment

Comments

@MonroeRenard
Copy link

Если подключать в начале файла, то остальные автозагрузчики пытаются подключать файлы из директории SocialAuther, в следствие чего вылезает Fatal Error

Fatal error: require_once(): Failed opening required 'bbPress.php' in /var/www/html/lib/SocialAuther/autoload.php on line 7

Мне было некогда переписывать autoload, поэтому сделал include_once вместо require_once и выставил error_reporting E_NOTICE. Но было бы замечательно это дело поправить грамотным способом))

@webru
Copy link

webru commented Nov 22, 2015

Можно autoload.php написать так:

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

2 participants