<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,23 @@
 &lt;?php
 
+/*
+ * jQuery - Add jQuery to Frog CMS admin interface.
+ *
+ * Copyright (c) 2008-2009 Mika Tuupola
+ *
+ * Licensed under the MIT license:
+ *   http://www.opensource.org/licenses/mit-license.php
+ *
+ * Project home:
+ *   http://www.appelsiini.net/
+ *
+ */
+
+/* Prevent direct access. */
+if (!defined(&quot;FRAMEWORK_STARTING_MICROTIME&quot;)) {
+    die(&quot;All your base are belong to us!&quot;);
+}
+
 /* Force jQuery to be the first plugin. */
 unset(Plugin::$plugins['jquery']);
 Plugin::$plugins = array('jquery' =&gt; 1) + Plugin::$plugins;</diff>
      <filename>enable.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>793ac66998742f1c10d2e3b402c598c448916113</id>
    </parent>
  </parents>
  <author>
    <name>Mika Tuupola</name>
    <email>tuupola@appelsiini.net</email>
  </author>
  <url>http://github.com/tuupola/frog_jquery/commit/8ace24efabe2b6e7e5b1ad8072ab90fc99b4038a</url>
  <id>8ace24efabe2b6e7e5b1ad8072ab90fc99b4038a</id>
  <committed-date>2009-04-27T07:08:19-07:00</committed-date>
  <authored-date>2009-04-27T07:08:19-07:00</authored-date>
  <message>Prevent direct access to enable and disable scripts.

Although it usually fails because of missing librarires malicous user can still access enable and disable PHP script via direct URL:

http://www.example.com/frog/plugins/jquery/enable.php
http://www.example.com/frog/plugins/jquery/disable.php</message>
  <tree>985540899eb0b2406530177bef7e81675b62c8d5</tree>
  <committer>
    <name>Mika Tuupola</name>
    <email>tuupola@appelsiini.net</email>
  </committer>
</commit>
