projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5baba67
)
RooTrait.php
author
edward
<edward@roojs.com>
Wed, 30 Mar 2016 10:27:00 +0000
(18:27 +0800)
committer
edward
<edward@roojs.com>
Wed, 30 Mar 2016 10:27:00 +0000
(18:27 +0800)
RooTrait.php
patch
|
blob
|
history
diff --git
a/RooTrait.php
b/RooTrait.php
index
e581409
..
c859cdf
100644
(file)
--- a/
RooTrait.php
+++ b/
RooTrait.php
@@
-177,8
+177,6
@@
trait Pman_Core_RooTrait {
require_once 'Services/JSON.php';
$json = new Services_JSON();
require_once 'Services/JSON.php';
$json = new Services_JSON();
- // log all errors!!!
-
$retHTML = isset($_SERVER['CONTENT_TYPE']) &&
preg_match('#multipart/form-data#i', $_SERVER['CONTENT_TYPE']);
$retHTML = isset($_SERVER['CONTENT_TYPE']) &&
preg_match('#multipart/form-data#i', $_SERVER['CONTENT_TYPE']);
@@
-190,7
+188,6
@@
trait Pman_Core_RooTrait {
$retHTML = isset($_REQUEST['returnHTML']) && $_REQUEST['returnHTML'] !='NO';
}
$retHTML = isset($_REQUEST['returnHTML']) && $_REQUEST['returnHTML'] !='NO';
}
-
if ($retHTML) {
header('Content-type: text/html');
echo "<HTML><HEAD></HEAD><BODY>";
if ($retHTML) {
header('Content-type: text/html');
echo "<HTML><HEAD></HEAD><BODY>";
@@
-228,7
+225,6
@@
trait Pman_Core_RooTrait {
'authFailure' => !empty($errors['authFailure']),
));
'authFailure' => !empty($errors['authFailure']),
));
-
exit;
}
exit;
}