diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index e450268f..7e9b5d6c 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -130,6 +130,10 @@ class SSH2 * Dumps the content real-time to a file */ const LOG_REALTIME_FILE = 4; + /** + * Make sure that the log never gets larger than this + */ + const LOG_MAX_SIZE = 1048576; // 1024 * 1024 /**#@-*/ /**#@+ @@ -148,10 +152,6 @@ class SSH2 * Returns when a string matching the regular expression $expect is found */ const READ_NEXT = 3; - /** - * Make sure that the log never gets larger than this - */ - const LOG_MAX_SIZE = 1048576; // 1024 * 1024 /**#@-*/ /**