Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added tools to turn off debugging on the server when running apptacul…

…ar unit tests.
  • Loading branch information...
commit 38090398ae3c1e0234d3405cd6c341334d2649e2 1 parent f9fc525
@tpryan authored
View
10 utils/debugging/disableDebugging.cfm
@@ -0,0 +1,10 @@
+<cfparam name="url.username" type="string" default="admin" />
+<cfparam name="url.password" type="string" default="admin" />
+
+<cfscript>
+ admin= New CFIDE.adminapi.administrator();
+ admin.login(url.password, url.username);
+ debugging = new CFIDE.adminapi.debugging();
+ debugging.setDebugProperty("enableDebug", false);
+ debugging.setDebugProperty("enableRobustExceptions", false);
+</cfscript>
View
10 utils/debugging/enableDebugging.cfm
@@ -0,0 +1,10 @@
+<cfparam name="url.username" type="string" default="admin" />
+<cfparam name="url.password" type="string" default="admin" />
+
+<cfscript>
+ admin= New CFIDE.adminapi.administrator();
+ admin.login(url.password, url.username);
+ debugging = new CFIDE.adminapi.debugging();
+ debugging.setDebugProperty("enableDebug", true);
+ debugging.setDebugProperty("enableRobustExceptions", true);
+</cfscript>
Please sign in to comment.
Something went wrong with that request. Please try again.