<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -29,7 +29,7 @@
          * Prepares Twig.
          */
         private function __construct() {
-            $this-&gt;twig = new Twig_Loader(MAIN_DIR.&quot;/admin/layout&quot;,
+            $this-&gt;twig = new Twig_Loader((file_exists(THEME_DIR.&quot;/admin&quot;) ? THEME_DIR.&quot;/admin&quot; : MAIN_DIR.&quot;/admin/layout&quot;),
                                           (is_writable(INCLUDES_DIR.&quot;/caches&quot;) and !DEBUG) ?
                                               INCLUDES_DIR.&quot;/caches&quot; :
                                               null);</diff>
      <filename>includes/controller/Admin.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>fc6d342a56651dae8a93077187963df9f57361fc</id>
    </parent>
  </parents>
  <author>
    <name>Alex Suraci</name>
    <email>i.am@toogeneric.com</email>
  </author>
  <url>http://github.com/vito/chyrp/commit/58f22264d5b39d8b43ec52330dea960f2f109b4a</url>
  <id>58f22264d5b39d8b43ec52330dea960f2f109b4a</id>
  <committed-date>2008-11-21T13:26:37-08:00</committed-date>
  <authored-date>2008-11-21T13:26:37-08:00</authored-date>
  <message>If (theme dir)/admin exists it will be used to theme the Admin area.</message>
  <tree>b88c78abb9060056011ceb5914d2d417a6a57a57</tree>
  <committer>
    <name>Alex Suraci</name>
    <email>i.am@toogeneric.com</email>
  </committer>
</commit>
