diff options
author | Valery Kartel <valery.kartel@gmail.com> | 2017-08-26 19:48:55 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-08-28 06:32:17 +0000 |
commit | b4dc428b069d192ff5d9bf0f008fc5ff1bce20da (patch) | |
tree | 68de6c2e338521059f2d9386b049a1107443b98a /testing/litespeed/fix_php.patch | |
parent | 71038f0019450e04407d876b780f09139cee90d5 (diff) | |
download | aports-b4dc428b069d192ff5d9bf0f008fc5ff1bce20da.tar.bz2 aports-b4dc428b069d192ff5d9bf0f008fc5ff1bce20da.tar.xz |
testing/litespeed: upgrade to 1.4.27
Diffstat (limited to 'testing/litespeed/fix_php.patch')
-rw-r--r-- | testing/litespeed/fix_php.patch | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/testing/litespeed/fix_php.patch b/testing/litespeed/fix_php.patch deleted file mode 100644 index 9b0d1d0c8b..0000000000 --- a/testing/litespeed/fix_php.patch +++ /dev/null @@ -1,47 +0,0 @@ ---- a/dist/add-ons/snmp_monitoring/class.litespeed_snmp_bridge.php -+++ b/dist/add-ons/snmp_monitoring/class.litespeed_snmp_bridge.php -@@ -1,4 +1,4 @@ --<? -+<?php - - /*---------------------------------------- - LiteSpeed_Stats to SNMP bridge. Relay stats to SNMPD. ---- a/dist/add-ons/snmp_monitoring/class.litespeed_stats.php -+++ b/dist/add-ons/snmp_monitoring/class.litespeed_stats.php -@@ -1,4 +1,4 @@ --<? -+<?php - - /*---------------------------------------- - LiteSpeed_Stats class and subclasses. Parse Real-Time data for LiteSpeed Products ---- a/dist/add-ons/snmp_monitoring/sample.php -+++ b/dist/add-ons/snmp_monitoring/sample.php -@@ -1,4 +1,4 @@ --<? -+<?php - - /*-------------------------------- - assuming following entry in /etc/snmp/snmpd.conf ---- a/dist/admin/html.open/lib/jCryption.php -+++ b/dist/admin/html.open/lib/jCryption.php -@@ -394,7 +394,7 @@ - $bits_n = $bits_cnt % 8; - do { - $str = ''; -- mt_srand($this->_makeSeed()); -+ mt_srand((int)$this->_makeSeed()); - for ($i = 0; $i < $bytes_n; $i++) { - $str .= chr(sha1(mt_rand() * microtime()) & 0xff); - } ---- a/dist/admin/html.open/lib/ows/RealTimeStats.php -+++ b/dist/admin/html.open/lib/ows/RealTimeStats.php -@@ -224,6 +224,9 @@ - $filter = UIBase::GrabGoodInput("request", "vh_filter", "string") ; - $sort = UIBase::GrabGoodInput("request", "vh_sort", "int") ; - -+ $sortDesc1 = array(); -+ $sortAsc2 = array(); -+ - $vhosts = array() ; - $m = array() ; - $found = preg_match_all("/REQ_RATE \[(.+)\]: REQ_PROCESSING: ([0-9]+), REQ_PER_SEC: ([0-9\.]+), TOT_REQS: ([0-9]+)/i", $this->_rawdata, $m) ; |