I've installed the Yii bootstrap extension for a Yii project I am working on. When I try to register the bootstrap files I get an error.
This is the code provided:
<?php Yii::app()->bootstrap->register(); ?>
The error I get is as following:
I hope someone can help me out, I have no idea where to look for.
Thanks a lot for your time.
you should be using:
<?php Yii::app()->bootstrap->register(); ?>
instead of
<?php Yii:app()->bootstrap->register(); ?>
Note the double colon ::