예제 #1
0
 public function pluginEnable()
 {
     ob_start();
     $try = FannieAuth::createClass('timesheet_access', 'Grants user permission to use the
          Timesheet plugin');
     ob_end_clean();
     if ($try === False) {
         echo 'Failed to create authentication class.
             Make sure authentication is enabled in
             Fannie and you\'re logged in as an admin
             then try turning Timesheet on and off
             again';
     }
 }
예제 #2
0
 public function pluginEnable()
 {
     FannieAuth::createClass('GiveUsMoney', 'Grants permission to use the GiveUsMoney plugin');
 }