Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Редактор конфига #933

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Редактор конфига #933

wants to merge 1 commit into from

Conversation

n1rwana
Copy link
Member

@n1rwana n1rwana commented Jul 28, 2023

Этот PR добавляет возможность редактировать конфиг (openvk.yml) через интерфейс админ-панели. Для более удобного редактирования названия ключей были переведены. Также, если файл с конфигом не существует, интерфейс попытается скопировать его из openvk-example.yml, или, если и он не найден, скачать из репозитория.
image

@WerySkok
Copy link
Member

WerySkok commented Aug 9, 2023

+шаг к инсталлеру, получается

Comment on lines +579 to +599
} else {
$this->returnJson(["success" => false, "error" => tr("admin_tuning_cfg_write_fail")]);
}
} else {
$this->returnJson(["success" => false, "error" => tr("admin_tuning_cfg_create_fail")]);
}
} else {
$this->returnJson(["success" => false, "error" => tr("admin_tuning_cfg_create_fail")]);
}
} else {
$this->returnJson(["success" => false, "error" => tr("admin_tuning_cfg_tmp_read_fail_yaml")]);
}
} else {
$this->returnJson(["success" => false, "error" => tr("admin_tuning_cfg_tmp_read_fail")]);
}
} else {
$this->returnJson(["success" => false, "error" => tr("admin_tuning_cfg_file_write_err")]);
}
} else {
$this->returnJson(["success" => false, "error" => tr("admin_tuning_cfg_file_create_err")]);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

что это за порно

Copy link
Member

@WerySkok WerySkok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Советую решить конфликт слияния

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants