Yii Framework Forum: Tweak Suggestion - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Tweak Suggestion Rate Topic: -----

#1 User is offline   queej 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 71
  • Joined: 04-February 10

Posted 23 August 2010 - 01:39 PM

I changed line 960 in my version of AuthitemController.php as follows:

    //if ($cont instanceof SBaseController) {
    if (is_subclass_of( $cont, 'SBaseController' )) {


This allowed me to use my single Controller component class to inherit from SBaseController so I wouldn't need to change each of my regular controllers.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users