コード例 #1
0
 /**
  * @brief Constructor for RedBrowser class.
  *
  * $enablePost will be activated through set_writeable() in a later stage.
  * At the moment the write_storage permission is only valid for the whole
  * folder. No file specific permissions yet.
  * @todo disable enablePost by default and only activate if permissions
  * grant edit rights.
  *
  * Disable assets with $enableAssets = false. Should get some thumbnail views
  * anyway.
  *
  * @param RedBasicAuth &$auth
  */
 public function __construct(&$auth)
 {
     $this->auth = $auth;
     parent::__construct(true, false);
 }
コード例 #2
0
ファイル: BrowserPlugin.php プロジェクト: krekike/sambadav
 public function __construct($config)
 {
     parent::__construct();
     $this->config = $config;
 }