Репозитории ALT
S: | 5.2.1-alt1 |
5.1: | 3.3.10-alt0.M50P.1 |
4.1: | 2.11.8.1-alt0.M41.1 |
4.0: | 2.11.8.1-alt0.M40.1 |
3.0: | 2.5.7-alt2pl1 |
Группа :: Система/Серверы
Пакет: phpMyAdmin
Главная Изменения Спек Патчи Исходники Загрузить Gear Bugs and FR Repocop
#!/bin/sh
. /etc/control.d/functions
CONFIG=--dir--/phpMyAdmin.conf
new_subst disabled \
'^#[[:space:]]*Allow from all$' \
's,^\([[:space:]]*Allow from all\)$,#\1,'
new_subst disabled \
'^#[[:space:]]*Allow from 127.0.0.1$' \
's,^\([[:space:]]*Allow from 127.0.0.1\)$,#\1,'
new_subst restricted \
'^#[[:space:]]*Allow from all' \
's,^\([[:space:]]*Allow from all\),#\1,'
new_subst restricted \
'^[[:space:]]*Allow from 127.0.0.1' \
's,^#\([[:space:]]*Allow from 127.0.0.1\),\1,'
new_subst public \
'^[[:space:]]*Allow from all' \
's,^#\([[:space:]]*Allow from all\),\1,'
new_subst public \
'^[[:space:]]*Allow from 127.0.0.1' \
's,^#\([[:space:]]*Allow from 127.0.0.1\),\1,'
new_help disabled 'Disable access for phpMyAdmin'
new_help restricted 'Restriced access for phpMyAdmin '
new_help public 'Public access for phpMyAdmin '
new_summary 'Access for phpMyAdmin'
control_subst "$CONFIG" "$*"