Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. Yii::setPathOfAlias('bootstrap', dirname(__FILE__).'/../extensions/bootstrap');
  2.  
  3. 'modules'=>array(
  4. 'admin',
  5. 'consultant'=>array(
  6. 'preload'=>array('bootstrap'),
  7. 'components'>array(
  8. 'bootstrap'=>array(
  9. 'class'=>'bootstrap.theme.abound'
  10. ),
  11. ),
  12. ),
  13. 'candidate',
  14. ),
  15.  
  16. class ConsultantModule extends CWebModule
  17. {
  18. public function init()
  19. {
  20. $this->setImport(array(
  21. 'consultant.models.*',
  22. 'consultant.components.*',
  23. ));
  24.  
  25. Yii::app()->getComponent('bootstrap');
  26. }
  27. }
  28.  
  29. mainFolder
  30. protected
  31. config
  32. **main.php**
  33. extensions
  34. bootstrap
  35. assets
  36. components
  37. form
  38. gii
  39. theme
  40. **abound**
  41. widgets
  42. modules
  43. consultant
  44. controllers
  45. models
  46. views
  47. **ConsultantModule.php**
  48.  
  49. Property "ConsultantModule.0" is not defined.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement