Installation Complete!
-+
Ready to dig in? Start building your application in the application/routes.php file.
- Perhaps you would like to peruse the documentation or contribute on GitHub? -diff --git a/application/config/aliases.php b/application/config/aliases.php new file mode 100644 index 00000000..d7d3f4b6 --- /dev/null +++ b/application/config/aliases.php @@ -0,0 +1,44 @@ + 'System\\Auth', + 'Benchmark' => 'System\\Benchmark', + 'Cache' => 'System\\Cache', + 'Config' => 'System\\Config', + 'Cookie' => 'System\\Cookie', + 'Crypt' => 'System\\Crypt', + 'Date' => 'System\\Date', + 'DB' => 'System\\DB', + 'Eloquent' => 'System\\DB\\Eloquent', + 'File' => 'System\\File', + 'Form' => 'System\\Form', + 'Hash' => 'System\\Hash', + 'HTML' => 'System\\HTML', + 'Inflector' => 'System\\Inflector', + 'Input' => 'System\\Input', + 'Lang' => 'System\\Lang', + 'Log' => 'System\\Log', + 'URL' => 'System\\URL', + 'Redirect' => 'System\\Redirect', + 'Request' => 'System\\Request', + 'Response' => 'System\\Response', + 'Session' => 'System\\Session', + 'Str' => 'System\\Str', + 'Text' => 'System\\Text', + 'Validator' => 'System\\Validator', + 'View' => 'System\\View', + +); \ No newline at end of file diff --git a/application/config/application.php b/application/config/application.php index fcafe721..2f55b140 100644 --- a/application/config/application.php +++ b/application/config/application.php @@ -80,45 +80,4 @@ return array( 'key' => '', - /* - |-------------------------------------------------------------------------- - | Class Aliases - |-------------------------------------------------------------------------- - | - | Here, you can specify any class aliases that you would like registered - | when Laravel loads. Aliases are lazy-loaded, so add as many as you want. - | - | We have already setup a few to make your life easier. - | - */ - - 'aliases' => array( - 'Auth' => 'System\\Auth', - 'Benchmark' => 'System\\Benchmark', - 'Cache' => 'System\\Cache', - 'Config' => 'System\\Config', - 'Cookie' => 'System\\Cookie', - 'Crypt' => 'System\\Crypt', - 'Date' => 'System\\Date', - 'DB' => 'System\\DB', - 'Download' => 'System\\Download', - 'Eloquent' => 'System\\DB\\Eloquent', - 'File' => 'System\\File', - 'Form' => 'System\\Form', - 'Hash' => 'System\\Hash', - 'HTML' => 'System\\HTML', - 'Inflector' => 'System\\Inflector', - 'Input' => 'System\\Input', - 'Lang' => 'System\\Lang', - 'Log' => 'System\\Log', - 'URL' => 'System\\URL', - 'Redirect' => 'System\\Redirect', - 'Request' => 'System\\Request', - 'Response' => 'System\\Response', - 'Session' => 'System\\Session', - 'Str' => 'System\\Str', - 'Text' => 'System\\Text', - 'View' => 'System\View', - ), - ); \ No newline at end of file diff --git a/application/config/cache.php b/application/config/cache.php index 1364446a..65ac2602 100644 --- a/application/config/cache.php +++ b/application/config/cache.php @@ -12,12 +12,24 @@ return array( | Caching can be used to increase the performance of your application | by storing commonly accessed data in memory or in a file. | - | Supported Drivers: 'file', 'memcached'. + | Supported Drivers: 'file', 'memcached', 'apc'. | */ 'driver' => 'file', + /* + |-------------------------------------------------------------------------- + | Cache Key + |-------------------------------------------------------------------------- + | + | This key will be prepended to items stored using Memcached and APC to + | prevent collisions with other applications on the server. + | + */ + + 'key' => 'laravel', + /* |-------------------------------------------------------------------------- | Memcached Servers @@ -35,18 +47,6 @@ return array( 'servers' => array( array('host' => '127.0.0.1', 'port' => 11211, 'weight' => 100), - ), - - /* - |-------------------------------------------------------------------------- - | Memcached Key - |-------------------------------------------------------------------------- - | - | This key will be prepended to items stored using Memcached to avoid - | collisions with other applications on the server. - | - */ - - 'key' => 'laravel', + ), ); \ No newline at end of file diff --git a/application/config/mimes.php b/application/config/mimes.php new file mode 100644 index 00000000..e2bd4fbb --- /dev/null +++ b/application/config/mimes.php @@ -0,0 +1,97 @@ + 'application/mac-binhex40', + 'cpt' => 'application/mac-compactpro', + 'csv' => array('text/x-comma-separated-values', 'text/comma-separated-values', 'application/octet-stream'), + 'bin' => 'application/macbinary', + 'dms' => 'application/octet-stream', + 'lha' => 'application/octet-stream', + 'lzh' => 'application/octet-stream', + 'exe' => array('application/octet-stream', 'application/x-msdownload'), + 'class' => 'application/octet-stream', + 'psd' => 'application/x-photoshop', + 'so' => 'application/octet-stream', + 'sea' => 'application/octet-stream', + 'dll' => 'application/octet-stream', + 'oda' => 'application/oda', + 'pdf' => array('application/pdf', 'application/x-download'), + 'ai' => 'application/postscript', + 'eps' => 'application/postscript', + 'ps' => 'application/postscript', + 'smi' => 'application/smil', + 'smil' => 'application/smil', + 'mif' => 'application/vnd.mif', + 'xls' => array('application/excel', 'application/vnd.ms-excel', 'application/msexcel'), + 'ppt' => array('application/powerpoint', 'application/vnd.ms-powerpoint'), + 'wbxml' => 'application/wbxml', + 'wmlc' => 'application/wmlc', + 'dcr' => 'application/x-director', + 'dir' => 'application/x-director', + 'dxr' => 'application/x-director', + 'dvi' => 'application/x-dvi', + 'gtar' => 'application/x-gtar', + 'gz' => 'application/x-gzip', + 'php' => array('application/x-httpd-php', 'text/x-php'), + 'php4' => 'application/x-httpd-php', + 'php3' => 'application/x-httpd-php', + 'phtml' => 'application/x-httpd-php', + 'phps' => 'application/x-httpd-php-source', + 'js' => 'application/x-javascript', + 'swf' => 'application/x-shockwave-flash', + 'sit' => 'application/x-stuffit', + 'tar' => 'application/x-tar', + 'tgz' => array('application/x-tar', 'application/x-gzip-compressed'), + 'xhtml' => 'application/xhtml+xml', + 'xht' => 'application/xhtml+xml', + 'zip' => array('application/x-zip', 'application/zip', 'application/x-zip-compressed'), + 'mid' => 'audio/midi', + 'midi' => 'audio/midi', + 'mpga' => 'audio/mpeg', + 'mp2' => 'audio/mpeg', + 'mp3' => array('audio/mpeg', 'audio/mpg', 'audio/mpeg3', 'audio/mp3'), + 'aif' => 'audio/x-aiff', + 'aiff' => 'audio/x-aiff', + 'aifc' => 'audio/x-aiff', + 'ram' => 'audio/x-pn-realaudio', + 'rm' => 'audio/x-pn-realaudio', + 'rpm' => 'audio/x-pn-realaudio-plugin', + 'ra' => 'audio/x-realaudio', + 'rv' => 'video/vnd.rn-realvideo', + 'wav' => 'audio/x-wav', + 'bmp' => 'image/bmp', + 'gif' => 'image/gif', + 'jpeg' => array('image/jpeg', 'image/pjpeg'), + 'jpg' => array('image/jpeg', 'image/pjpeg'), + 'jpe' => array('image/jpeg', 'image/pjpeg'), + 'png' => 'image/png', + 'tiff' => 'image/tiff', + 'tif' => 'image/tiff', + 'css' => 'text/css', + 'html' => 'text/html', + 'htm' => 'text/html', + 'shtml' => 'text/html', + 'txt' => 'text/plain', + 'text' => 'text/plain', + 'log' => array('text/plain', 'text/x-log'), + 'rtx' => 'text/richtext', + 'rtf' => 'text/rtf', + 'xml' => 'text/xml', + 'xsl' => 'text/xml', + 'mpeg' => 'video/mpeg', + 'mpg' => 'video/mpeg', + 'mpe' => 'video/mpeg', + 'qt' => 'video/quicktime', + 'mov' => 'video/quicktime', + 'avi' => 'video/x-msvideo', + 'movie' => 'video/x-sgi-movie', + 'doc' => 'application/msword', + 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', + 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', + 'word' => array('application/msword', 'application/octet-stream'), + 'xl' => 'application/excel', + 'eml' => 'message/rfc822', + 'json' => array('application/json', 'text/json'), + +); \ No newline at end of file diff --git a/application/config/session.php b/application/config/session.php index 8a18cfce..be0e3e0d 100644 --- a/application/config/session.php +++ b/application/config/session.php @@ -12,7 +12,7 @@ return array( | Since HTTP is stateless, sessions are used to maintain "state" across | multiple requests from the same user of your application. | - | Supported Drivers: 'file', 'db', 'memcached'. + | Supported Drivers: 'file', 'db', 'memcached', 'apc'. | */ diff --git a/application/lang/en/validation.php b/application/lang/en/validation.php new file mode 100644 index 00000000..fa09a0be --- /dev/null +++ b/application/lang/en/validation.php @@ -0,0 +1,51 @@ + "The :attribute must be accepted.", + "confirmation_of" => "The :attribute confirmation does not match.", + "exclusion_of" => "The :attribute value is invalid.", + "format_of" => "The :attribute format is invalid.", + "inclusion_of" => "The :attribute value is invalid.", + "presence_of" => "The :attribute can't be empty.", + "uniqueness_of" => "The :attribute has already been taken.", + "with_callback" => "The :attribute is invalid.", + + /* + |-------------------------------------------------------------------------- + | Numericality_Of Validation Messages + |-------------------------------------------------------------------------- + */ + + "number_not_valid" => "The :attribute must be a number.", + "number_not_integer" => "The :attribute must be an integer.", + "number_wrong_size" => "The :attribute must be :size.", + "number_too_big" => "The :attribute must be no more than :max.", + "number_too_small" => "The :attribute must be at least :min.", + + /* + |-------------------------------------------------------------------------- + | Length_Of Validation Messages + |-------------------------------------------------------------------------- + */ + + "string_wrong_size" => "The :attribute must be :size characters.", + "string_too_big" => "The :attribute must be no more than :max characters.", + "string_too_small" => "The :attribute must be at least :min characters.", + + /* + |-------------------------------------------------------------------------- + | Upload_Of Validation Messages + |-------------------------------------------------------------------------- + */ + + "file_wrong_type" => "The :attribute must be a file of type: :types.", + "file_too_big" => "The :attribute exceeds size limit of :maxkb.", + +); \ No newline at end of file diff --git a/application/cache/.gitignore b/application/libraries/.gitignore similarity index 100% rename from application/cache/.gitignore rename to application/libraries/.gitignore diff --git a/application/db/.gitignore b/application/storage/cache/.gitignore similarity index 100% rename from application/db/.gitignore rename to application/storage/cache/.gitignore diff --git a/application/lang/en/.gitignore b/application/storage/db/.gitignore similarity index 100% rename from application/lang/en/.gitignore rename to application/storage/db/.gitignore diff --git a/application/logs/.gitignore b/application/storage/logs/.gitignore similarity index 100% rename from application/logs/.gitignore rename to application/storage/logs/.gitignore diff --git a/application/sessions/.gitignore b/application/storage/sessions/.gitignore similarity index 100% rename from application/sessions/.gitignore rename to application/storage/sessions/.gitignore diff --git a/application/views/home/index.php b/application/views/home/index.php index 59b997e8..4e17bf50 100644 --- a/application/views/home/index.php +++ b/application/views/home/index.php @@ -4,74 +4,76 @@
Ready to dig in? Start building your application in the application/routes.php file.
- Perhaps you would like to peruse the documentation or contribute on GitHub? -Need to learn more? Peruse our wonderful documentation.
+