mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-28 05:54:42 +02:00
remove debug echo
This commit is contained in:
parent
4de849fe34
commit
863dd65145
1 changed files with 0 additions and 3 deletions
|
@ -229,9 +229,6 @@ switch ($action) {
|
||||||
run_hook('save_settings'); #HOOK
|
run_hook('save_settings'); #HOOK
|
||||||
|
|
||||||
|
|
||||||
if ($_FILES['logo']['error'] > 0) {
|
|
||||||
r2(U . 'settings/app', 'e', 'Failed to process logo');
|
|
||||||
}
|
|
||||||
if (!empty($_FILES['logo']['name'])) {
|
if (!empty($_FILES['logo']['name'])) {
|
||||||
if (file_exists('system/uploads/logo.png')) unlink('system/uploads/logo.png');
|
if (file_exists('system/uploads/logo.png')) unlink('system/uploads/logo.png');
|
||||||
File::resizeCropImage($_FILES['logo']['tmp_name'], 'system/uploads/logo.png', 1078, 200, 100);
|
File::resizeCropImage($_FILES['logo']['tmp_name'], 'system/uploads/logo.png', 1078, 200, 100);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue