2014-04-28 09:23:18 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
###
|
|
|
|
# @name Access
|
2015-02-01 21:08:37 +00:00
|
|
|
# @copyright 2015 by Tobias Reich
|
2014-04-28 09:23:18 +00:00
|
|
|
###
|
|
|
|
|
|
|
|
if (!defined('LYCHEE')) exit('Error: Direct access is not allowed!');
|
|
|
|
|
|
|
|
class Access {
|
|
|
|
|
|
|
|
protected $database = null;
|
|
|
|
protected $plugins = null;
|
|
|
|
protected $settings = null;
|
|
|
|
|
|
|
|
public function __construct($database, $plugins, $settings) {
|
|
|
|
|
|
|
|
# Init vars
|
|
|
|
$this->database = $database;
|
|
|
|
$this->plugins = $plugins;
|
|
|
|
$this->settings = $settings;
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|