File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 249249function gettmpdir () {
250250if (!empty ($ _ENV ['TMP ' ])) { return realpath ($ _ENV ['TMP ' ]); }
251251if (!empty ($ _ENV ['TMPDIR ' ])) { return realpath ( $ _ENV ['TMPDIR ' ]); }
252- if (!empty ($ _ENV ['TEMP ' ])) { return realpath ( $ _ENV ['TEMP ' ]); }
252+ if (!empty ($ _ENV ['TEMP ' ])) { return realpath ( $ _ENV ['TEMP ' ]); }
253253return "/tmp " ;
254254}
255255define ('DEFAULT_DEBUG_DIR ' , gettmpdir ()."/ " );
@@ -303,7 +303,9 @@ class phpCAS
303303 private static $ _PHPCAS_DEBUG ;
304304
305305 /**
306- * This variable is used to store phpCAS debug mode.
306+ * This variable is used to enable verbose mode
307+ * This pevents debug info to be show to the user. Since it's a security
308+ * feature the default is false
307309 *
308310 * @hideinitializer
309311 */
@@ -471,7 +473,7 @@ public static function setDebug($filename = '')
471473 /**
472474 * Enable verbose errors messages in the website output
473475 * This is a security relevant since internal status info may leak an may
474- * help an attacker
476+ * help an attacker. Default is therefore false
475477 *
476478 * @param bool $verbose enable verbose output
477479 *
You can’t perform that action at this time.
0 commit comments