Permalink
Browse files

No commit message

  • Loading branch information...
0 parents commit 5af4e09be4f978b11692ff2730f529318659a3a8 Mike committed Nov 7, 2012
Showing 1,329 changed files with 216,587 additions and 0 deletions.
@@ -0,0 +1,3 @@
+RewriteEngine on
+RewriteCond $1 !^(index\.php|images|robots\.txt)
+RewriteRule ^(.*)$ /index.php/$1 [L]
@@ -0,0 +1 @@
+Deny from all
@@ -0,0 +1 @@
+deny from all
@@ -0,0 +1,10 @@
+<html>
+<head>
+ <title>403 Forbidden</title>
+</head>
+<body>
+
+<p>Directory access is forbidden.</p>
+
+</body>
+</html>
@@ -0,0 +1,179 @@
+<?php
+
+/* welcome_message.twig */
+class __TwigTemplate_6592e4037814b3b4d399b6cdcbfc6375 extends Twig_Template
+{
+ public function __construct(Twig_Environment $env)
+ {
+ parent::__construct($env);
+
+ $this->parent = false;
+
+ $this->blocks = array(
+ );
+ }
+
+ protected function doDisplay(array $context, array $blocks = array())
+ {
+ // line 1
+ echo "<!DOCTYPE html>
+<html lang=\"en\">
+<head>
+\t<meta charset=\"utf-8\">
+\t<title>Welcome to CodeIgniter</title>
+
+\t<style type=\"text/css\">
+
+\t::selection{ background-color: #E13300; color: white; }
+\t::moz-selection{ background-color: #E13300; color: white; }
+\t::webkit-selection{ background-color: #E13300; color: white; }
+
+\tbody {
+\t\tbackground-color: #fff;
+\t\tmargin: 40px;
+\t\tfont: 13px/20px normal Helvetica, Arial, sans-serif;
+\t\tcolor: #4F5155;
+\t}
+
+\ta {
+\t\tcolor: #003399;
+\t\tbackground-color: transparent;
+\t\tfont-weight: normal;
+\t}
+
+\th1 {
+\t\tcolor: #444;
+\t\tbackground-color: transparent;
+\t\tborder-bottom: 1px solid #D0D0D0;
+\t\tfont-size: 19px;
+\t\tfont-weight: normal;
+\t\tmargin: 0 0 14px 0;
+\t\tpadding: 14px 15px 10px 15px;
+\t}
+
+\tcode, pre {
+\t\tfont-family: Consolas, Monaco, Courier New, Courier, monospace;
+\t\tfont-size: 12px;
+\t\tbackground-color: #f9f9f9;
+\t\tborder: 1px solid #D0D0D0;
+\t\tcolor: #002166;
+\t\tdisplay: block;
+\t\tmargin: 14px 0 14px 0;
+\t\tpadding: 12px 10px 12px 10px;
+\t}
+
+ code.inline {
+ font-family: monospace;
+ margin: 0;
+ padding: 12px 4px 12px 4px;
+ display: inline;
+ border: none;
+ }
+
+\t#body{
+\t\tmargin: 0 15px 0 15px;
+\t}
+\t
+\tp.footer{
+\t\ttext-align: right;
+\t\tfont-size: 11px;
+\t\tborder-top: 1px solid #D0D0D0;
+\t\tline-height: 32px;
+\t\tpadding: 0 10px 0 10px;
+\t\tmargin: 20px 0 0 0;
+\t}
+\t
+\t#container{
+\t\tmargin: 10px;
+\t\tborder: 1px solid #D0D0D0;
+\t\t-webkit-box-shadow: 0 0 8px #D0D0D0;
+\t}
+\t</style>
+</head>
+<body>
+
+<h1>Welcome to CodeIgniter with Doctrine!</h1>
+
+<p>This install of CodeIgniter with Doctrine 2 has been created and configured by Joseph Wynn from <a href=\"http://wildlyinaccurate.com/\">Wildly Inaccurate</a>.</p>
+
+<p>You can access the Doctrine EntityManager in your controllers through the Doctrine library:</p>
+<code>\$this->load->library('doctrine');<br />
+\$em = \$this->doctrine->em;</code>
+
+<p>Or through the shortcut property in MY_Controller:</p>
+<code>\$this->em;</code>
+
+<p>A sample model has been created for you in:</p>
+<code>application/models/User.php</code>
+
+<p>The following code was used in the Welcome controller to create a new User entity.</p>
+<code>\$user = new models\\User;<br />
+\$user->setUsername('josephwynn');<br />
+\$user->setPassword('Passw0rd');<br />
+\$user->setEmail('wildlyinaccurate@gmail.com');</code>
+
+<p>Below is the output of print_r(\$user):</p>
+";
+ // line 98
+ if (isset($context["users"])) { $_users_ = $context["users"]; } else { $_users_ = null; }
+ $context['_parent'] = (array) $context;
+ $context['_seq'] = twig_ensure_traversable(sortArray($_users_, "id"));
+ foreach ($context['_seq'] as $context["_key"] => $context["user"]) {
+ // line 99
+ echo "<pre>";
+ if (isset($context["user"])) { $_user_ = $context["user"]; } else { $_user_ = null; }
+ echo twig_escape_filter($this->env, twig_var_dump($this->env, $context, $this->getAttribute($_user_, "username")), "html", null, true);
+ echo "</pre>
+";
+ }
+ $_parent = $context['_parent'];
+ unset($context['_seq'], $context['_iterated'], $context['_key'], $context['user'], $context['_parent'], $context['loop']);
+ $context = array_merge($_parent, array_intersect_key($context, $_parent));
+ // line 101
+ echo "<pre>";
+ echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_date_converter($this->env), "m/d/Y"), "html", null, true);
+ echo "</pre>
+
+<p>The Doctrine console is ready for you to use. Just run <code class=\"inline\"># ./application/doctrine</code> on Linux & Mac, or <code class=\"inline\"># php.exe ./application/doctrine.php</code> on Windows.</p>
+
+<p>For more information about integrating Doctrine with CodeIgniter, read <em><a href=\"http://wildlyinaccurate.com/integrating-doctrine-2-with-codeigniter-2/\">Integrating Doctrine 2 with CodeIgniter 2</a></em>.</p>
+
+<h2>Version Information</h2>
+<pre>CodeIgniter ";
+ // line 108
+ if (isset($context["civ"])) { $_civ_ = $context["civ"]; } else { $_civ_ = null; }
+ echo twig_escape_filter($this->env, $_civ_, "html", null, true);
+ echo "
+
+Doctrine ";
+ // line 110
+ if (isset($context["v"])) { $_v_ = $context["v"]; } else { $_v_ = null; }
+ echo twig_escape_filter($this->env, $_v_, "html", null, true);
+ echo "</pre>
+
+<p><br />Page rendered in ";
+ // line 112
+ if (isset($context["elapsed_time"])) { $_elapsed_time_ = $context["elapsed_time"]; } else { $_elapsed_time_ = null; }
+ echo twig_escape_filter($this->env, $_elapsed_time_, "html", null, true);
+ echo " seconds</p>
+
+</body>
+</html>
+";
+ }
+
+ public function getTemplateName()
+ {
+ return "welcome_message.twig";
+ }
+
+ public function isTraitable()
+ {
+ return false;
+ }
+
+ public function getDebugInfo()
+ {
+ return array ( 154 => 112, 148 => 110, 142 => 108, 131 => 101, 121 => 99, 116 => 98, 17 => 1,);
+ }
+}
@@ -0,0 +1,116 @@
+<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
+/*
+| -------------------------------------------------------------------
+| AUTO-LOADER
+| -------------------------------------------------------------------
+| This file specifies which systems should be loaded by default.
+|
+| In order to keep the framework as light-weight as possible only the
+| absolute minimal resources are loaded by default. For example,
+| the database is not connected to automatically since no assumption
+| is made regarding whether you intend to use it. This file lets
+| you globally define which systems you would like loaded with every
+| request.
+|
+| -------------------------------------------------------------------
+| Instructions
+| -------------------------------------------------------------------
+|
+| These are the things you can load automatically:
+|
+| 1. Packages
+| 2. Libraries
+| 3. Helper files
+| 4. Custom config files
+| 5. Language files
+| 6. Models
+|
+*/
+
+/*
+| -------------------------------------------------------------------
+| Auto-load Packges
+| -------------------------------------------------------------------
+| Prototype:
+|
+| $autoload['packages'] = array(APPPATH.'third_party', '/usr/local/shared');
+|
+*/
+
+$autoload['packages'] = array();
+
+
+/*
+| -------------------------------------------------------------------
+| Auto-load Libraries
+| -------------------------------------------------------------------
+| These are the classes located in the system/libraries folder
+| or in your application/libraries folder.
+|
+| Prototype:
+|
+| $autoload['libraries'] = array('database', 'session', 'xmlrpc');
+*/
+
+$autoload['libraries'] = array('session', 'doctrine', 'form_validation', 'twig');
+
+
+/*
+| -------------------------------------------------------------------
+| Auto-load Helper Files
+| -------------------------------------------------------------------
+| Prototype:
+|
+| $autoload['helper'] = array('url', 'file');
+*/
+
+$autoload['helper'] = array('url', 'language', 'form', 'edn');
+
+
+/*
+| -------------------------------------------------------------------
+| Auto-load Config files
+| -------------------------------------------------------------------
+| Prototype:
+|
+| $autoload['config'] = array('config1', 'config2');
+|
+| NOTE: This item is intended for use ONLY if you have created custom
+| config files. Otherwise, leave it blank.
+|
+*/
+
+$autoload['config'] = array();
+
+
+/*
+| -------------------------------------------------------------------
+| Auto-load Language files
+| -------------------------------------------------------------------
+| Prototype:
+|
+| $autoload['language'] = array('lang1', 'lang2');
+|
+| NOTE: Do not include the "_lang" part of your file. For example
+| "codeigniter_lang.php" would be referenced as array('codeigniter');
+|
+*/
+
+$autoload['language'] = array();
+
+
+/*
+| -------------------------------------------------------------------
+| Auto-load Models
+| -------------------------------------------------------------------
+| Prototype:
+|
+| $autoload['model'] = array('model1', 'model2');
+|
+*/
+
+$autoload['model'] = array();
+
+
+/* End of file autoload.php */
+/* Location: ./application/config/autoload.php */
Oops, something went wrong.

0 comments on commit 5af4e09

Please sign in to comment.