diff --git a/conf/config.php b/conf/config.php deleted file mode 100644 index d59c7c7..0000000 --- a/conf/config.php +++ /dev/null @@ -1,13 +0,0 @@ - \ No newline at end of file diff --git a/conf/init_config.php b/conf/init_config.php deleted file mode 100644 index ce0b784..0000000 --- a/conf/init_config.php +++ /dev/null @@ -1,17 +0,0 @@ - diff --git a/conf/init_config_user.php b/conf/init_config_user.php deleted file mode 100644 index f0fc7ac..0000000 --- a/conf/init_config_user.php +++ /dev/null @@ -1,52 +0,0 @@ -#!/usr/bin/php - $userlogin) -{ - $userlevel = '2'; - if ($userlogin == $GLOBALS['ynh_admin']) - { - $userlevel = '4'; - } - - $currentLogin = array($userlogin); - $currentPassword = array($userlogin => ''); - $currentLevel = array($userlogin => $userlevel); - $currentEmail = array($userlogin => ''); - - if (array_key_exists('login', $GLOBALS)) - { - $GLOBALS['login'] = array_merge($GLOBALS['login'], $currentLogin); - $GLOBALS['password'] = array_merge($GLOBALS['password'], $currentPassword); - $GLOBALS['level'] = array_merge($GLOBALS['level'], $currentLevel); - $GLOBALS['email'] = array_merge($GLOBALS['email'], $currentEmail); - } - else - { - $GLOBALS['login'] = $currentLogin; - $GLOBALS['password'] = $currentPassword; - $GLOBALS['level'] = $currentLevel; - $GLOBALS['email'] = $currentEmail; - } -} - -$userconf = ''; - -$userconf_file = '/home/yunohost.app/shaarli/data/config_user.php'; -if (!file_put_contents($userconf_file, $userconf) || strcmp(file_get_contents($userconf_file),$userconf)!=0) -{ - fwrite(STDERR, "Error while writing " . $userconf_file); - exit(1); -} - -?> diff --git a/conf/options.php b/conf/options.php deleted file mode 100644 index 56b818e..0000000 --- a/conf/options.php +++ /dev/null @@ -1,23 +0,0 @@ -