ftp_ansicht repariert und neues msd
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
MyOOS [Dumper]
|
||||
http://www.oos-shop.de/
|
||||
|
||||
Copyright (c) 2016 by the MyOOS Development Team.
|
||||
Copyright (c) 2013 - 2022 by the MyOOS Development Team.
|
||||
----------------------------------------------------------------------
|
||||
Based on:
|
||||
|
||||
@ -16,30 +16,28 @@
|
||||
Released under the GNU General Public License
|
||||
---------------------------------------------------------------------- */
|
||||
|
||||
|
||||
// Konfigurationsdateien, die aktualisiert werden sollen
|
||||
// configurations to update
|
||||
// mehrere Dateien so angeben | enter more than one configurationsfile like this
|
||||
// $configurationfiles=array('mysqldumper','db2');
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
$configurationfiles=array(
|
||||
'myoosdumper'
|
||||
);
|
||||
|
||||
/**
|
||||
* configurations to update.
|
||||
*
|
||||
* enter more than one configurationsfile like this
|
||||
* $configurationfiles=array('myoosdumper','db2');
|
||||
*/
|
||||
$configurationfiles = [
|
||||
'myoosdumper',
|
||||
];
|
||||
|
||||
define('OOS_VALID_MOD', true);
|
||||
|
||||
define('APPLICATION_PATH',realpath(dirname(__FILE__)));
|
||||
chdir(APPLICATION_PATH);
|
||||
include_once ( APPLICATION_PATH . '/inc/functions.php' );
|
||||
$config['language']='en';
|
||||
$config['theme']="msd";
|
||||
$config['files']['iconpath']='css/' . $config['theme'] . '/icons/';
|
||||
define('APPLICATION_PATH', '/' == dirname(__FILE__) ? '' : dirname(__FILE__));
|
||||
include_once APPLICATION_PATH.'/inc/functions.php';
|
||||
|
||||
foreach ($configurationfiles as $conf)
|
||||
{
|
||||
$config['config_file']=$conf;
|
||||
include ( $config['paths']['config'] . $conf . '.php' );
|
||||
GetLanguageArray();
|
||||
SetDefault();
|
||||
$config['language'] = 'en';
|
||||
$config['theme'] = 'mod';
|
||||
$config['files']['iconpath'] = 'css/'.$config['theme'].'/icons/';
|
||||
|
||||
foreach ($configurationfiles as $conf) {
|
||||
$config['config_file'] = $conf;
|
||||
include $config['paths']['config'].$conf.'.php';
|
||||
GetLanguageArray();
|
||||
SetDefault();
|
||||
}
|
||||
|
Reference in New Issue
Block a user