Skip to content

Commit 82862dd

Browse files
committed
fixed error with saved error state on server blogereus2
1 parent 84f7c54 commit 82862dd

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

bin/v_change_user_package

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ is_package_avalable() {
4545
[[ "$CRON_JOBS" -lt "$U_CRON_JOBS" ]] ||\
4646
[[ "$DISK_QUOTA" -lt "$U_DISK" ]] ||\
4747
[[ "$BANDWIDTH" -lt "$U_BANDWIDTH" ]]; then
48-
echo "Error: Upgrade package"
48+
echo "Error: Package not cover current usage"
4949
log_event "$E_LIMIT" "$EVENT"
5050
exit $E_LIMIT
5151
fi

func/main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ is_package_full() {
116116
esac
117117
limit=$(grep "^$1=" $USER_DATA/user.conf | cut -f 2 -d \' )
118118
if [ "$used" -ge "$limit" ]; then
119-
echo "Error: Upgrade package"
119+
echo "Error: Limit reached / Upgrade package"
120120
log_event "$E_LIMIT" "$EVENT"
121121
exit $E_LIMIT
122122
fi

web/edit/web/index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
error_reporting(NULL);
44
ob_start();
55
session_start();
6+
unset($_SESSION['error_msg']);
67

78
$TAB = 'WEB';
89
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");

0 commit comments

Comments
 (0)