<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -317,8 +317,8 @@ class AppController extends Controller {
     function isAdminAction() {
         $adminRoute = Configure::read('Routing.admin');
         $wfPrefix = Configure::read('Wildflower.prefix');
-        if (isset($this-&gt;params[$adminRoute]) &amp;&amp; $this-&gt;params[$adminRoute] === $wfPrefix) return true;
-        return (isset($this-&gt;params['prefix']) &amp;&amp; $this-&gt;params['prefix'] === $wfPrefix);
+        if (isset($this-&gt;params[$adminRoute]) and $this-&gt;params[$adminRoute] === $wfPrefix) return true;
+        return (isset($this-&gt;params['prefix']) and $this-&gt;params['prefix'] === 'wf');
     }
 
     /**</diff>
      <filename>app/app_controller.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>66c6a480c38cfdac992f705feaad9ce43f33701e</id>
    </parent>
  </parents>
  <author>
    <name>klevo</name>
    <email>klevo@klevo.sk</email>
  </author>
  <url>http://github.com/klevo/wildflower/commit/f29002b723927f579d77c7968f3e807e26855cfb</url>
  <id>f29002b723927f579d77c7968f3e807e26855cfb</id>
  <committed-date>2009-06-11T04:06:41-07:00</committed-date>
  <authored-date>2009-06-11T04:06:41-07:00</authored-date>
  <message>WF prefix fix for the ability to change WF admin prefix. Big props to TeckniX.</message>
  <tree>1c427fe77be591f17b9ae21c4e9409bacffdfbe8</tree>
  <committer>
    <name>klevo</name>
    <email>klevo@klevo.sk</email>
  </committer>
</commit>
