Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Set debug to false by default

  • Loading branch information...
commit 212a1f4f8e6a1d4340a784a14875ce58162914b5 1 parent 96f7ae6
John Jawed (JJ) authored August 08, 2012

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  xcom.c
3  xcom.c
@@ -620,6 +620,7 @@ XCOM_METHOD(__construct) /* {{{ */
620 620
     }
621 621
 
622 622
     xcom = php_xcom_fetch_obj_store(obj TSRMLS_CC);
  623
+
623 624
     if(fab_url_len) {
624 625
         xcom->fabric_url = estrndup(fab_url, fab_url_len);
625 626
     }
@@ -632,6 +633,8 @@ XCOM_METHOD(__construct) /* {{{ */
632 633
         xcom->cap_token = estrndup(cap_token, cap_token_len);
633 634
     }
634 635
 
  636
+    zend_update_property_bool(xcom_ce, obj, "__debug", sizeof("__debug")-1, 0L TSRMLS_CC);
  637
+
635 638
     return;
636 639
 }
637 640
 /* }}} */

0 notes on commit 212a1f4

Please sign in to comment.
Something went wrong with that request. Please try again.