mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
46 lines
671 B
PHP
46 lines
671 B
PHP
<?php
|
|
|
|
if (!defined("BASEPATH")) exit("No direct script access allowed");
|
|
|
|
class Manager extends Auth_Controller
|
|
{
|
|
/**
|
|
*
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct(
|
|
array(
|
|
'installAll' => 'admin:rw',
|
|
'installFromCore' => 'admin:rw'
|
|
)
|
|
);
|
|
|
|
// Load libraries
|
|
$this->load->library('FehlerUpdateLib');
|
|
}
|
|
|
|
/**
|
|
*
|
|
*/
|
|
public function installAll()
|
|
{
|
|
$this->fehlerupdatelib->installAll();
|
|
}
|
|
|
|
/**
|
|
*
|
|
*/
|
|
public function installFromCore()
|
|
{
|
|
$this->fehlerupdatelib->installFromCore();
|
|
}
|
|
|
|
/**
|
|
*
|
|
*/
|
|
public function installFrom($fehlerConfigDirectory)
|
|
{
|
|
$this->fehlerupdatelib->installFrom($fehlerConfigDirectory);
|
|
}
|
|
} |