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

got an 'CI_Controller ' error when try to run on laravel #56

Closed
iClosedz opened this issue Jul 11, 2014 · 1 comment
Closed

got an 'CI_Controller ' error when try to run on laravel #56

iClosedz opened this issue Jul 11, 2014 · 1 comment

Comments

@iClosedz
Copy link

Class 'CI_Controller' not found

I use Laravel and my controller at path app/Mycontrol/fileuseclockwork.php
at fileuseclockwork.php
use Clockwork;
Clockwork::info('test']);
That error.

before that app/controller/fileuseclockwork.php
at fileuseclockwork.php
Clockwork::info('test']);
it use fine.

Why this error?

@iClosedz
Copy link
Author

I for got to add aliases

'Clockwork' => 'Clockwork\Support\Laravel\Facade'

sry.

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