[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [16371] debug
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [16371] debug |
Date: |
Wed, 22 Feb 2017 03:02:41 -0500 (EST) |
Revision: 16371
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16371
Author: sigurdne
Date: 2017-02-22 03:02:41 -0500 (Wed, 22 Feb 2017)
Log Message:
-----------
debug
Modified Paths:
--------------
trunk/registration/inc/class.uireg.inc.php
trunk/registration/templates/base/config.tpl
Modified: trunk/registration/inc/class.uireg.inc.php
===================================================================
--- trunk/registration/inc/class.uireg.inc.php 2017-02-21 20:05:08 UTC (rev
16370)
+++ trunk/registration/inc/class.uireg.inc.php 2017-02-22 08:02:41 UTC (rev
16371)
@@ -61,6 +61,11 @@
function header( $sub = '' )
{
+ if(!empty($this->config['debug']))
+ {
+ $headers = getallheaders();
+ _debug_array($headers);
+ }
if (!$sub)
{
$sub = lang('Account registration');
Modified: trunk/registration/templates/base/config.tpl
===================================================================
--- trunk/registration/templates/base/config.tpl 2017-02-21 20:05:08 UTC
(rev 16370)
+++ trunk/registration/templates/base/config.tpl 2017-02-22 08:02:41 UTC
(rev 16371)
@@ -121,6 +121,14 @@
<td><input name="newsettings[login_url]"
value="{value_login_url}"></td>
</tr>
<tr>
+ <td>{lang_Debug}:</td>
+ <td>
+ <select name="newsettings[debug]">
+ <option value=""
{selected_debug_}>NO</option>
+ <option value="1"
{selected_debug_1}>YES</option>
+ </select>
+ </td>
+ </tr>
<!-- END body -->
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [16371] debug,
sigurdne <=