<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -42,6 +42,13 @@
 							${ &quot;Attempts to notify sites linked to from your posts. It'll slow down things a bit when you submit them, depending on how many links you've got in it.&quot; | translate }
 						&lt;/small&gt;
 					&lt;/p&gt;
+					&lt;p&gt;
+						&lt;label for=&quot;enable_xmlrpc&quot;&gt;${ &quot;Enable XML-RPC Support&quot; | translate }&lt;/label&gt;
+						&lt;input class=&quot;checkbox&quot; type=&quot;checkbox&quot; name=&quot;enable_xmlrpc&quot; id=&quot;enable_xmlrpc&quot;${ site.enable_xmlrpc | checked } /&gt;
+						&lt;small&gt;
+							${ &quot;XML-RPC support allows for remote access to your site. This allows you to use remote clients (e.g., &lt;a href=\&quot;http://www.red-sweater.com/marsedit/\&quot;&gt;MarsEdit&lt;/a&gt; or &lt;a href=\&quot;http://flickr.com/help/blogging/\&quot;&gt;Flickr&lt;/a&gt;) to create/edit content on your site.&quot; | translate }
+						&lt;/small&gt;
+					&lt;/p&gt;
 
 					&lt;p class=&quot;buttons&quot;&gt;
 						&lt;button type=&quot;submit&quot; class=&quot;yay&quot;&gt;&lt;img src=&quot;images/icons/success.png&quot; alt=&quot;success&quot; /&gt;${ &quot;Update&quot; | translate }&lt;/button&gt;</diff>
      <filename>admin/layout/pages/content_settings.twig</filename>
    </modified>
    <modified>
      <diff>@@ -1151,6 +1151,7 @@
 			$config-&gt;set(&quot;enable_trackbacking&quot;, !empty($_POST['enable_trackbacking']));
 			$config-&gt;set(&quot;send_pingbacks&quot;, !empty($_POST['send_pingbacks']));
 			$config-&gt;set(&quot;posts_per_page&quot;, $_POST['posts_per_page']);
+			$config-&gt;set(&quot;enable_xmlrpc&quot;, !empty($_POST['enable_xmlrpc']));
 
 			redirect(&quot;/admin/?action=content_settings&amp;updated&quot;);
 		}</diff>
      <filename>includes/controller/Admin.php</filename>
    </modified>
    <modified>
      <diff>@@ -469,6 +469,9 @@
 		 * Authenticates a given login and password, and checks for appropriate permission
 		 */
 		private function auth($login, $password, $do = 'add') {
+			if (!Config::current()-&gt;enable_xmlrpc)
+				throw new Exception(__(&quot;XML-RPC support is disabled for this site.&quot;));
+
 			global $user;
 			$user = new User(
 				null,</diff>
      <filename>includes/xmlrpc.php</filename>
    </modified>
    <modified>
      <diff>@@ -247,6 +247,7 @@
 			$config-&gt;set(&quot;guest_group&quot;, 5);
 			$config-&gt;set(&quot;enable_trackbacking&quot;, true);
 			$config-&gt;set(&quot;send_pingbacks&quot;, false);
+			$config-&gt;set(&quot;enable_xmlrpc&quot;, true);
 			$config-&gt;set(&quot;secure_hashkey&quot;, md5(random(32, true)));
 			$config-&gt;set(&quot;uploads_path&quot;, &quot;/uploads/&quot;);
 			$config-&gt;set(&quot;enabled_modules&quot;, array());</diff>
      <filename>install.php</filename>
    </modified>
    <modified>
      <diff>@@ -114,6 +114,7 @@
 	function to_2000() {
 		global $config, $sql, $misc;
 		$sql-&gt;adapter = null;
+		$config-&gt;set(&quot;enable_xmlrpc&quot;, true);
 		$config-&gt;set(&quot;uploads_path&quot;, &quot;/uploads/&quot;);
 		$config-&gt;set(&quot;chyrp_url&quot;, $config-&gt;url);
 		$config-&gt;set(&quot;feed_items&quot;, $config-&gt;rss_posts);</diff>
      <filename>upgrade.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1eb788cbc437c332d6fff3af11cdf0075107305f</id>
    </parent>
  </parents>
  <author>
    <name>brucep</name>
    <email>public.github@bru.fmguy.com</email>
  </author>
  <url>http://github.com/vito/chyrp/commit/626b63d4d5a79b38231674a9a257e4b693480af1</url>
  <id>626b63d4d5a79b38231674a9a257e4b693480af1</id>
  <committed-date>2008-06-30T17:58:41-07:00</committed-date>
  <authored-date>2008-06-30T17:58:41-07:00</authored-date>
  <message>Added enable_xmlrpc setting. [#137 state:resolved]</message>
  <tree>54c6fd36ceca612c6c076052fd357b88e6992659</tree>
  <committer>
    <name>brucep</name>
    <email>public.github@bru.fmguy.com</email>
  </committer>
</commit>
