You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($response->getHeader('Content-Type')[0] == 'text/html') {
161
-
thrownewDirectAdminException(sprintf('DirectAdmin API returned text/html to %s %s containing "%s"', $method, $uri, strip_tags($response->getBody()->getContents())));
164
+
if($allow_html == false) {
165
+
if ($response->getHeader('Content-Type')[0] == 'text/html') {
166
+
thrownewDirectAdminException(sprintf('DirectAdmin API returned text/html to %s %s containing "%s"', $method, $uri, strip_tags($response->getBody()->getContents())));
0 commit comments