<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>data/cache/cache-dev.db</filename>
    </added>
    <added>
      <filename>data/cache/cache-test.db</filename>
    </added>
    <added>
      <filename>data/cache/db-cache-dev.db</filename>
    </added>
    <added>
      <filename>data/cache/db-cache-test.db</filename>
    </added>
    <added>
      <filename>data/db/paste-dev.db</filename>
    </added>
    <added>
      <filename>data/db/paste-test.db</filename>
    </added>
    <added>
      <filename>data/db/paste.db</filename>
    </added>
    <added>
      <filename>data/pasteSchema.php</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,6 +1,6 @@
 &lt;?php
 defined('APPLICATION_PATH') 
-    or define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../'));
+    or define('APPLICATION_PATH', realpath(dirname(__FILE__)));
 defined('APPLICATION_ENV') or define('APPLICATION_ENV', 'development');
 
 if (defined('BOOTSTRAP')) {
@@ -10,4 +10,4 @@ if (defined('BOOTSTRAP')) {
 
 $front = Zend_Controller_Front::getInstance();
 $front-&gt;registerPlugin(new My_Plugin_Initialize(APPLICATION_ENV))
-      -&gt;addControllerDirectory(APPLICATION_PATH . '/application/controllers');
+      -&gt;addControllerDirectory(APPLICATION_PATH . '/controllers');</diff>
      <filename>application/bootstrap.php</filename>
    </modified>
    <modified>
      <diff>@@ -1,20 +1,20 @@
 [production]
 paths.init = 0
 
-basePath = APPLICATION_PATH
-appPath = APPLICATION_PATH &quot;/application&quot;
-libPath = APPLICATION_PATH &quot;/library&quot;
-pubPath = APPLICATION_PATH &quot;/public&quot;
+basePath = APPLICATION_PATH &quot;/..&quot;
+appPath = APPLICATION_PATH
+libPath = APPLICATION_PATH &quot;/../library&quot;
+pubPath = APPLICATION_PATH &quot;/../public&quot;
 
 db.cxn.adapter = &quot;pdo_sqlite&quot;
-db.cxn.params.dbname = APPLICATION_PATH &quot;/application/data/paste-dev.db&quot;
+db.cxn.params.dbname = APPLICATION_PATH &quot;/../data/db/paste-dev.db&quot;
 db.cache.backendName = &quot;Sqlite&quot;
 db.cache.frontendName = &quot;Core&quot;
 db.cache.frontendOptions.caching = true
 db.cache.frontendOptions.lifetime = 900
 db.cache.frontendOptions.automatic_serialization = true
 db.cache.frontendOptions.automatic_cleaning_factor = 20
-db.cache.backendOptions.cache_db_complete_path = APPLICATION_PATH &quot;/application/data/db-cache-dev.db&quot;
+db.cache.backendOptions.cache_db_complete_path = APPLICATION_PATH &quot;/../data/cache/db-cache-dev.db&quot;
 db.cache.backendOptions.automatic_vacuum_factor = 20
 db.profiler.enabled = false
 
@@ -24,22 +24,22 @@ cache.frontendOptions.caching = false
 cache.frontendOptions.lifetime = 900
 cache.frontendOptions.automatic_serialization = true
 cache.frontendOptions.automatic_cleaning_factor = 20
-cache.backendOptions.cache_db_complete_path = APPLICATION_PATH &quot;/application/data/cache-dev.db&quot;
+cache.backendOptions.cache_db_complete_path = APPLICATION_PATH &quot;/../data/cache/cache-dev.db&quot;
 cache.backendOptions.automatic_vacuum_factor = 20
 
 view.dojo.isDebug = false
 
 [development : production]
-db.cxn.params.dbname = APPLICATION_PATH &quot;/application/data/paste-dev.db&quot;
-db.cache.backendOptions.cache_db_complete_path = APPLICATION_PATH &quot;/application/data/db-cache-dev.db&quot;
+db.cxn.params.dbname = APPLICATION_PATH &quot;/../data/db/paste-dev.db&quot;
+db.cache.backendOptions.cache_db_complete_path = APPLICATION_PATH &quot;/../data/cache/db-cache-dev.db&quot;
 db.profiler.enabled = true
 cache.frontendOptions.caching = false
-cache.backendOptions.cache_db_complete_path = APPLICATION_PATH &quot;/application/data/cache-dev.db&quot;
+cache.backendOptions.cache_db_complete_path = APPLICATION_PATH &quot;/../data/cache/cache-dev.db&quot;
 view.dojo.isDebug = true
 
 [testing : production]
-db.cxn.params.dbname = APPLICATION_PATH &quot;/application/data/paste-test.db&quot;
-db.cache.backendOptions.cache_db_complete_path = APPLICATION_PATH &quot;/application/data/db-cache-test.db&quot;
+db.cxn.params.dbname = APPLICATION_PATH &quot;/../data/db/paste-test.db&quot;
+db.cache.backendOptions.cache_db_complete_path = APPLICATION_PATH &quot;/../data/cache/db-cache-test.db&quot;
 cache.frontendOptions.caching = false
-cache.backendOptions.cache_db_complete_path = APPLICATION_PATH &quot;/application/data/cache-test.db&quot;
+cache.backendOptions.cache_db_complete_path = APPLICATION_PATH &quot;/../data/cache/cache-test.db&quot;
 </diff>
      <filename>application/config/paste.ini</filename>
    </modified>
    <modified>
      <diff>@@ -49,7 +49,7 @@ class My_Plugin_Initialize extends Zend_Controller_Plugin_Abstract
      */
     public function initConfig()
     {
-        $this-&gt;config = new Zend_Config_Ini(APPLICATION_PATH . '/application/config/paste.ini', $this-&gt;env);
+        $this-&gt;config = new Zend_Config_Ini(APPLICATION_PATH . '/config/paste.ini', $this-&gt;env);
         Zend_Registry::set('config', $this-&gt;config);
         return $this;
     }</diff>
      <filename>library/My/Plugin/Initialize.php</filename>
    </modified>
    <modified>
      <diff>@@ -3,6 +3,9 @@
 # - need short open tags for view scripts
 php_value date.timezone &quot;UTC&quot;
 php_value short_open_tag 1
+php_value error_reporting 8191
+php_flag  display_errors Off
+php_flag  display_startup_errors Off
 
 # Rewrite Rules
 RewriteEngine On</diff>
      <filename>public/.htaccess</filename>
    </modified>
    <modified>
      <diff>@@ -1,14 +1,14 @@
 &lt;?php
-define('BOOTSTRAP', true);
-$base      = realpath(dirname(__FILE__) . '/../');
+defined('APPLICATION_PATH') 
+    or define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application'));
 $paths     = array(
     '.', 
-    $base . '/application/models',
-    $base . '/library',
+    APPLICATION_PATH . '/models',
+    realpath(APPLICATION_PATH . '/../library'),
 );
 ini_set('include_path', implode(PATH_SEPARATOR, $paths));
-ini_set('display_errors', false);
-error_reporting(E_ALL | E_STRICT);
+require_once 'Zend/Loader.php';
+Zend_Loader::registerAutoload();
 
 include dirname(__FILE__) . '/../application/bootstrap.php';
 </diff>
      <filename>public/index.php</filename>
    </modified>
    <modified>
      <diff>@@ -4,23 +4,22 @@
  */
 
 if (!defined('APPLICATION_PATH')) {
-    define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../'));
+    define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application/'));
 }
 
 if (!class_exists('Zend_Registry', false) || !Zend_Registry::isRegistered('config')) {
-    $base  = realpath(dirname(__FILE__) . '/../');
-    $paths = array(
-        '.', 
-        $base . '/library',
-    );
 
     if (!class_exists('Zend_Registry')) {
+        $paths = array(
+            '.', 
+            APPLICATION_PATH . '/../library',
+        );
         ini_set('include_path', implode(PATH_SEPARATOR, $paths));
         require_once 'Zend/Loader.php';
         Zend_Loader::registerAutoload();
     }
 
-    $config = new Zend_Config_Ini($base . '/application/config/paste.ini', 'testing');
+    $config = new Zend_Config_Ini(APPLICATION_PATH . '/config/paste.ini', 'testing');
     Zend_Registry::set('config', $config);
     unset($base, $path, $config);
 }</diff>
      <filename>scripts/loadTestDb.php</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>application/data/cache-dev.db</filename>
    </removed>
    <removed>
      <filename>application/data/cache-test.db</filename>
    </removed>
    <removed>
      <filename>application/data/db-cache-dev.db</filename>
    </removed>
    <removed>
      <filename>application/data/db-cache-test.db</filename>
    </removed>
    <removed>
      <filename>application/data/paste-dev.db</filename>
    </removed>
    <removed>
      <filename>application/data/paste-test.db</filename>
    </removed>
    <removed>
      <filename>application/data/paste.db</filename>
    </removed>
    <removed>
      <filename>application/data/pasteSchema.php</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>992fa55d6ff35e4ed9b6d10ddc0f61c7b5e764b7</id>
    </parent>
  </parents>
  <author>
    <name>Matthew Weier O'Phinney</name>
    <email>matthew@zend.com</email>
  </author>
  <url>http://github.com/weierophinney/pastebin/commit/b77649d7fd3b67ae35d3f8233d7f65c96db6c254</url>
  <id>b77649d7fd3b67ae35d3f8233d7f65c96db6c254</id>
  <committed-date>2008-09-24T11:41:45-07:00</committed-date>
  <authored-date>2008-09-24T11:41:45-07:00</authored-date>
  <message>Refactored to follow current project structure guidelines</message>
  <tree>1a02246b73ed3afece89dea16ee6411fc6133429</tree>
  <committer>
    <name>Matthew Weier O'Phinney</name>
    <email>matthew@weierophinney.net</email>
  </committer>
</commit>
