Permalink
Browse files

Set debug to false by default

  • Loading branch information...
1 parent 96f7ae6 commit 212a1f4f8e6a1d4340a784a14875ce58162914b5 @johnj committed Aug 8, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 xcom.c
View
3 xcom.c
@@ -620,6 +620,7 @@ XCOM_METHOD(__construct) /* {{{ */
}
xcom = php_xcom_fetch_obj_store(obj TSRMLS_CC);
+
if(fab_url_len) {
xcom->fabric_url = estrndup(fab_url, fab_url_len);
}
@@ -632,6 +633,8 @@ XCOM_METHOD(__construct) /* {{{ */
xcom->cap_token = estrndup(cap_token, cap_token_len);
}
+ zend_update_property_bool(xcom_ce, obj, "__debug", sizeof("__debug")-1, 0L TSRMLS_CC);
+
return;
}
/* }}} */

0 comments on commit 212a1f4

Please sign in to comment.