Commit 9c2c6271 authored by Colin Viebrock's avatar Colin Viebrock

Merge remote-tracking branch 'laravel/develop' into develop

parents 0fd3815f d94408d6
...@@ -15,6 +15,19 @@ return array( ...@@ -15,6 +15,19 @@ return array(
'debug' => true, 'debug' => true,
/*
|--------------------------------------------------------------------------
| Application URL
|--------------------------------------------------------------------------
|
| This URL is used by the console to properly generate URLs when using
| the Artisan command line tool. You should set this to the root of
| your application so that it is used when running Artisan tasks.
|
*/
'url' => 'http://localhost',
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Application Timezone | Application Timezone
...@@ -47,8 +60,8 @@ return array( ...@@ -47,8 +60,8 @@ return array(
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| This key is used by the Illuminate encrypter service and should be set | This key is used by the Illuminate encrypter service and should be set
| to a random, long string, otherwise these encrypted values will not | to a random, 32 character string, otherwise these encrypted strings
| be safe. Make sure to change it before deploying any application! | will not be safe. Please do this before deploying an application!
| |
*/ */
...@@ -77,18 +90,21 @@ return array( ...@@ -77,18 +90,21 @@ return array(
'Illuminate\Cookie\CookieServiceProvider', 'Illuminate\Cookie\CookieServiceProvider',
'Illuminate\Database\DatabaseServiceProvider', 'Illuminate\Database\DatabaseServiceProvider',
'Illuminate\Encryption\EncryptionServiceProvider', 'Illuminate\Encryption\EncryptionServiceProvider',
'Illuminate\Exception\LiveServiceProvider',
'Illuminate\Filesystem\FilesystemServiceProvider', 'Illuminate\Filesystem\FilesystemServiceProvider',
'Illuminate\Hashing\HashServiceProvider', 'Illuminate\Hashing\HashServiceProvider',
'Illuminate\Html\HtmlServiceProvider', 'Illuminate\Html\HtmlServiceProvider',
'Illuminate\Foundation\Providers\KeyGeneratorServiceProvider', 'Illuminate\Foundation\Providers\KeyGeneratorServiceProvider',
'Illuminate\Log\LogServiceProvider', 'Illuminate\Log\LogServiceProvider',
'Illuminate\Mail\MailServiceProvider', 'Illuminate\Mail\MailServiceProvider',
'Illuminate\Foundation\Providers\MaintenanceServiceProvider',
'Illuminate\Database\MigrationServiceProvider', 'Illuminate\Database\MigrationServiceProvider',
'Illuminate\Foundation\Providers\OptimizeServiceProvider', 'Illuminate\Foundation\Providers\OptimizeServiceProvider',
'Illuminate\Pagination\PaginationServiceProvider', 'Illuminate\Pagination\PaginationServiceProvider',
'Illuminate\Foundation\Providers\PublisherServiceProvider', 'Illuminate\Foundation\Providers\PublisherServiceProvider',
'Illuminate\Queue\QueueServiceProvider', 'Illuminate\Queue\QueueServiceProvider',
'Illuminate\Redis\RedisServiceProvider', 'Illuminate\Redis\RedisServiceProvider',
'Illuminate\Remote\RemoteServiceProvider',
'Illuminate\Auth\Reminders\ReminderServiceProvider', 'Illuminate\Auth\Reminders\ReminderServiceProvider',
'Illuminate\Foundation\Providers\RouteListServiceProvider', 'Illuminate\Foundation\Providers\RouteListServiceProvider',
'Illuminate\Database\SeedServiceProvider', 'Illuminate\Database\SeedServiceProvider',
...@@ -135,7 +151,7 @@ return array( ...@@ -135,7 +151,7 @@ return array(
'Cache' => 'Illuminate\Support\Facades\Cache', 'Cache' => 'Illuminate\Support\Facades\Cache',
'ClassLoader' => 'Illuminate\Support\ClassLoader', 'ClassLoader' => 'Illuminate\Support\ClassLoader',
'Config' => 'Illuminate\Support\Facades\Config', 'Config' => 'Illuminate\Support\Facades\Config',
'Controller' => 'Illuminate\Routing\Controllers\Controller', 'Controller' => 'Illuminate\Routing\Controller',
'Cookie' => 'Illuminate\Support\Facades\Cookie', 'Cookie' => 'Illuminate\Support\Facades\Cookie',
'Crypt' => 'Illuminate\Support\Facades\Crypt', 'Crypt' => 'Illuminate\Support\Facades\Crypt',
'DB' => 'Illuminate\Support\Facades\DB', 'DB' => 'Illuminate\Support\Facades\DB',
...@@ -144,7 +160,7 @@ return array( ...@@ -144,7 +160,7 @@ return array(
'File' => 'Illuminate\Support\Facades\File', 'File' => 'Illuminate\Support\Facades\File',
'Form' => 'Illuminate\Support\Facades\Form', 'Form' => 'Illuminate\Support\Facades\Form',
'Hash' => 'Illuminate\Support\Facades\Hash', 'Hash' => 'Illuminate\Support\Facades\Hash',
'Html' => 'Illuminate\Support\Facades\Html', 'HTML' => 'Illuminate\Support\Facades\HTML',
'Input' => 'Illuminate\Support\Facades\Input', 'Input' => 'Illuminate\Support\Facades\Input',
'Lang' => 'Illuminate\Support\Facades\Lang', 'Lang' => 'Illuminate\Support\Facades\Lang',
'Log' => 'Illuminate\Support\Facades\Log', 'Log' => 'Illuminate\Support\Facades\Log',
...@@ -160,6 +176,7 @@ return array( ...@@ -160,6 +176,7 @@ return array(
'Schema' => 'Illuminate\Support\Facades\Schema', 'Schema' => 'Illuminate\Support\Facades\Schema',
'Seeder' => 'Illuminate\Database\Seeder', 'Seeder' => 'Illuminate\Database\Seeder',
'Session' => 'Illuminate\Support\Facades\Session', 'Session' => 'Illuminate\Support\Facades\Session',
'SSH' => 'Illuminate\Support\Facades\SSH',
'Str' => 'Illuminate\Support\Str', 'Str' => 'Illuminate\Support\Str',
'URL' => 'Illuminate\Support\Facades\URL', 'URL' => 'Illuminate\Support\Facades\URL',
'Validator' => 'Illuminate\Support\Facades\Validator', 'Validator' => 'Illuminate\Support\Facades\Validator',
......
...@@ -52,11 +52,19 @@ return array( ...@@ -52,11 +52,19 @@ return array(
| that should be used as your password reminder e-mail. You will also | that should be used as your password reminder e-mail. You will also
| be able to set the name of the table that holds the reset tokens. | be able to set the name of the table that holds the reset tokens.
| |
| The "expire" time is the number of minutes that the reminder should be
| considered valid. This security feature keeps tokens short-lived so
| they have less time to be guessed. You may change this as needed.
|
*/ */
'reminder' => array( 'reminder' => array(
'email' => 'emails.auth.reminder', 'table' => 'password_reminders', 'email' => 'emails.auth.reminder',
'table' => 'password_reminders',
'expire' => 60,
), ),
......
...@@ -111,6 +111,8 @@ return array( ...@@ -111,6 +111,8 @@ return array(
'redis' => array( 'redis' => array(
'cluster' => true,
'default' => array( 'default' => array(
'host' => '127.0.0.1', 'host' => '127.0.0.1',
'port' => 6379, 'port' => 6379,
......
...@@ -11,7 +11,7 @@ return array( ...@@ -11,7 +11,7 @@ return array(
| sending of e-mail. You may specify which one you're using throughout | sending of e-mail. You may specify which one you're using throughout
| your application here. By default, Laravel is setup for SMTP mail. | your application here. By default, Laravel is setup for SMTP mail.
| |
| Supported: "smtp", "mail" | Supported: "smtp", "mail", "sendmail"
| |
*/ */
...@@ -95,4 +95,30 @@ return array( ...@@ -95,4 +95,30 @@ return array(
'password' => null, 'password' => null,
/*
|--------------------------------------------------------------------------
| Sendmail System Path
|--------------------------------------------------------------------------
|
| When using the "sendmail" driver to send e-mails, we will need to know
| the path to where Sendmail lives on this server. A default path has
| been provided here, which will work well on most of your systems.
|
*/
'sendmail' => '/usr/sbin/sendmail -bs',
/*
|--------------------------------------------------------------------------
| Mail "Pretend"
|--------------------------------------------------------------------------
|
| When this option is enabled, e-mail will not actually be sent over the
| web and will instead be written to your application's logs files so
| you may inspect the message. This is great for local development.
|
*/
'pretend' => false,
); );
\ No newline at end of file
<?php
return array(
/*
|--------------------------------------------------------------------------
| Default Remote Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify the default connection that will be used for SSH
| operations. This name should correspond to a connection name below
| in the server list. Each connection will be manually accessible.
|
*/
'default' => 'production',
/*
|--------------------------------------------------------------------------
| Remote Server Connections
|--------------------------------------------------------------------------
|
| These are the servers that will be accessible via the SSH task runner
| facilities of Laravel. This feature radically simplifies executing
| tasks on your servers, such as deploying out these applications.
|
*/
'connections' => array(
'production' => array(
'host' => '',
'username' => '',
'password' => '',
'key' => '',
),
),
/*
|--------------------------------------------------------------------------
| Remote Server Groups
|--------------------------------------------------------------------------
|
| Here you may list connections under a single group name, which allows
| you to easily access all of the servers at once using a short name
| that is extremely easy to remember, such as "web" or "database".
|
*/
'groups' => array(
'web' => array('production')
),
);
\ No newline at end of file
...@@ -8,15 +8,15 @@ return array( ...@@ -8,15 +8,15 @@ return array(
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| This option controls the default session "driver" that will be used on | This option controls the default session "driver" that will be used on
| requests. By default we will use the light-weight cookie driver but | requests. By default, we will use the lightweight native driver but
| you may specify any of the other wonderful drivers provided here. | you may specify any of the other wonderful drivers provided here.
| |
| Supported: "cookie", "file", "database", "apc", | Supported: "native", "cookie", "database", "apc",
| "memcached", "redis", "array" | "memcached", "redis", "array"
| |
*/ */
'driver' => 'cookie', 'driver' => 'native',
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
...@@ -24,7 +24,7 @@ return array( ...@@ -24,7 +24,7 @@ return array(
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| Here you may specify the number of minutes that you wish the session | Here you may specify the number of minutes that you wish the session
| to be allowed to remain idle for it is expired. If you want them | to be allowed to remain idle before it expires. If you want them
| to immediately expire when the browser closes, set it to zero. | to immediately expire when the browser closes, set it to zero.
| |
*/ */
...@@ -36,7 +36,7 @@ return array( ...@@ -36,7 +36,7 @@ return array(
| Session File Location | Session File Location
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| When using the "file" session driver, we need a location where session | When using the native session driver, we need a location where session
| files may be stored. A default has been set for you but a different | files may be stored. A default has been set for you but a different
| location may be specified. This is only needed for file sessions. | location may be specified. This is only needed for file sessions.
| |
...@@ -122,17 +122,4 @@ return array( ...@@ -122,17 +122,4 @@ return array(
'domain' => null, 'domain' => null,
/*
|--------------------------------------------------------------------------
| Session Payload Cookie Name
|--------------------------------------------------------------------------
|
| When using the "cookie" session driver, you may configure the name of
| the cookie used as the session "payload". This cookie actually has
| the encrypted session data stored within it for the application.
|
*/
'payload' => 'laravel_payload',
); );
...@@ -8,10 +8,10 @@ return array( ...@@ -8,10 +8,10 @@ return array(
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| This option controls the default session "driver" that will be used on | This option controls the default session "driver" that will be used on
| requets. By default, we will use the light-weight cookie driver but | requests. By default, we will use the lightweight native driver but
| you may specify any of the other wonderful drivers provided here. | you may specify any of the other wonderful drivers provided here.
| |
| Supported: "cookie", file", "database", "apc", | Supported: "native", "cookie", "database", "apc",
| "memcached", "redis", "array" | "memcached", "redis", "array"
| |
*/ */
......
...@@ -22,7 +22,7 @@ return array( ...@@ -22,7 +22,7 @@ return array(
| |
| Like the option above, your e-mail address is used when generating new | Like the option above, your e-mail address is used when generating new
| workbench packages. The e-mail is placed in your composer.json file | workbench packages. The e-mail is placed in your composer.json file
| automatically whwen the package is created by the workbench tool. | automatically after the package is created by the workbench tool.
| |
*/ */
......
...@@ -28,17 +28,33 @@ App::after(function($request, $response) ...@@ -28,17 +28,33 @@ App::after(function($request, $response)
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| The following filters are used to verify that the user of the current | The following filters are used to verify that the user of the current
| session is logged into this application. Also, a "guest" filter is | session is logged into this application. The "basic" filter easily
| responsible for performing the opposite. Both provide redirects. | integrates HTTP Basic authentication for quick, simple checking.
| |
*/ */
Route::filter('auth', function() Route::filter('auth', function()
{ {
if (Auth::guest()) return Redirect::route('login'); if (Auth::guest()) return Redirect::guest('login');
}); });
Route::filter('auth.basic', function()
{
return Auth::basic();
});
/*
|--------------------------------------------------------------------------
| Guest Filter
|--------------------------------------------------------------------------
|
| The "guest" filter is the counterpart of the authentication filters as
| it simply checks that the current user is not logged in. A redirect
| response will be issued if they are, which you may freely change.
|
*/
Route::filter('guest', function() Route::filter('guest', function()
{ {
if (Auth::check()) return Redirect::to('/'); if (Auth::check()) return Redirect::to('/');
...@@ -57,7 +73,7 @@ Route::filter('guest', function() ...@@ -57,7 +73,7 @@ Route::filter('guest', function()
Route::filter('csrf', function() Route::filter('csrf', function()
{ {
if (Session::getToken() != Input::get('_token')) if (Session::token() != Input::get('_token'))
{ {
throw new Illuminate\Session\TokenMismatchException; throw new Illuminate\Session\TokenMismatchException;
} }
......
...@@ -19,11 +19,13 @@ return array( ...@@ -19,11 +19,13 @@ return array(
"alpha" => "The :attribute may only contain letters.", "alpha" => "The :attribute may only contain letters.",
"alpha_dash" => "The :attribute may only contain letters, numbers, and dashes.", "alpha_dash" => "The :attribute may only contain letters, numbers, and dashes.",
"alpha_num" => "The :attribute may only contain letters and numbers.", "alpha_num" => "The :attribute may only contain letters and numbers.",
"array" => "The :attribute must be an array.",
"before" => "The :attribute must be a date before :date.", "before" => "The :attribute must be a date before :date.",
"between" => array( "between" => array(
"numeric" => "The :attribute must be between :min - :max.", "numeric" => "The :attribute must be between :min - :max.",
"file" => "The :attribute must be between :min - :max kilobytes.", "file" => "The :attribute must be between :min - :max kilobytes.",
"string" => "The :attribute must be between :min - :max characters.", "string" => "The :attribute must be between :min - :max characters.",
"array" => "The :attribute must have between :min - :max items.",
), ),
"confirmed" => "The :attribute confirmation does not match.", "confirmed" => "The :attribute confirmation does not match.",
"date" => "The :attribute is not a valid date.", "date" => "The :attribute is not a valid date.",
...@@ -41,23 +43,28 @@ return array( ...@@ -41,23 +43,28 @@ return array(
"numeric" => "The :attribute may not be greater than :max.", "numeric" => "The :attribute may not be greater than :max.",
"file" => "The :attribute may not be greater than :max kilobytes.", "file" => "The :attribute may not be greater than :max kilobytes.",
"string" => "The :attribute may not be greater than :max characters.", "string" => "The :attribute may not be greater than :max characters.",
"array" => "The :attribute may not have more than :max items.",
), ),
"mimes" => "The :attribute must be a file of type: :values.", "mimes" => "The :attribute must be a file of type: :values.",
"min" => array( "min" => array(
"numeric" => "The :attribute must be at least :min.", "numeric" => "The :attribute must be at least :min.",
"file" => "The :attribute must be at least :min kilobytes.", "file" => "The :attribute must be at least :min kilobytes.",
"string" => "The :attribute must be at least :min characters.", "string" => "The :attribute must be at least :min characters.",
"array" => "The :attribute must have at least :min items.",
), ),
"not_in" => "The selected :attribute is invalid.", "not_in" => "The selected :attribute is invalid.",
"numeric" => "The :attribute must be a number.", "numeric" => "The :attribute must be a number.",
"regex" => "The :attribute format is invalid.", "regex" => "The :attribute format is invalid.",
"required" => "The :attribute field is required.", "required" => "The :attribute field is required.",
"required_if" => "The :attribute field is required when :other is :value.",
"required_with" => "The :attribute field is required when :values is present.", "required_with" => "The :attribute field is required when :values is present.",
"required_without" => "The :attribute field is required when :values is not present.",
"same" => "The :attribute and :other must match.", "same" => "The :attribute and :other must match.",
"size" => array( "size" => array(
"numeric" => "The :attribute must be :size.", "numeric" => "The :attribute must be :size.",
"file" => "The :attribute must be :size kilobytes.", "file" => "The :attribute must be :size kilobytes.",
"string" => "The :attribute must be :size characters.", "string" => "The :attribute must be :size characters.",
"array" => "The :attribute must contain :size items.",
), ),
"unique" => "The :attribute has already been taken.", "unique" => "The :attribute has already been taken.",
"url" => "The :attribute format is invalid.", "url" => "The :attribute format is invalid.",
......
...@@ -53,6 +53,22 @@ App::error(function(Exception $exception, $code) ...@@ -53,6 +53,22 @@ App::error(function(Exception $exception, $code)
Log::error($exception); Log::error($exception);
}); });
/*
|--------------------------------------------------------------------------
| Maintenance Mode Handler
|--------------------------------------------------------------------------
|
| The "down" Artisan command gives you the ability to put an application
| into maintenance mode. Here, you will define what is displayed back
| to the user if maintenace mode is in effect for this application.
|
*/
App::down(function()
{
return Response::make("Be right back!", 503);
});
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Require The Filters File | Require The Filters File
...@@ -64,4 +80,4 @@ App::error(function(Exception $exception, $code) ...@@ -64,4 +80,4 @@ App::error(function(Exception $exception, $code)
| |
*/ */
require __DIR__.'/../filters.php'; require app_path().'/filters.php';
\ No newline at end of file \ No newline at end of file
<?php <?php
// /*
\ No newline at end of file |--------------------------------------------------------------------------
| Register Debug Console
|--------------------------------------------------------------------------
|
| In the local environment, we will attach the live debugger, which will
| allow you to view SQL queries and other logged information as it is
| taking place in this application via the "debug" Artisan command.
|
*/
App::attachDebugger();
\ No newline at end of file
...@@ -12,8 +12,6 @@ class ExampleTest extends TestCase { ...@@ -12,8 +12,6 @@ class ExampleTest extends TestCase {
$crawler = $this->client->request('GET', '/'); $crawler = $this->client->request('GET', '/');
$this->assertTrue($this->client->getResponse()->isOk()); $this->assertTrue($this->client->getResponse()->isOk());
$this->assertCount(1, $crawler->filter('h1:contains("Hello World!")'));
} }
} }
\ No newline at end of file
<h1>Hello World!</h1> <!doctype html>
\ No newline at end of file <html lang="en">
<head>
<meta charset="UTF-8">
<title>Laravel PHP Framework</title>
<style>
@import url(//fonts.googleapis.com/css?family=Lato:300,400,700);
body {
margin:0;
font-family:'Lato', sans-serif;
text-align:center;
color: #999;
}
.welcome {
width: 300px;
height: 300px;
position: absolute;
left: 50%;
top: 50%;
margin-left: -150px;
margin-top: -150px;
}
a, a:visited {
color:#FF5949;
text-decoration:none;
}
a:hover {
text-decoration:underline;
}
ul li {
display:inline;
margin:0 1.2em;
}
p {
margin:2em 0;
color:#555;
}
</style>
</head>
<body>
<div class="welcome">
<a href="http://laravel.com" title="Laravel PHP Framework"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIcAAACHCAYAAAA850oKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9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x4odXgZqh/G3RGM3FOoz4ZmyWs7hNCVMd5UrUU4uNe6FMgvyjoiwcqxbymnRxcWLsGMszAeqxD5zApaFIE7eP+33ky0/iHydqQJVJ0FwvBzeh1HT+6iJaDTt2zGZj3c4zeHx3/rEEnVcqMp5uF9vBUKWbEM3z9ENr1ZcyEaCFkICm6anykZ04+yCBKhwwQhON2X8NO4/01IX0/9/o+JLOMeXEfMSbJ2ccLITh86G44X4G2d8iTg1HD61U2cAJebI5hJ86sh3O6OWtKedHKebpHllkkBM+GOVwIcbTyosmmOB/vMTlPjkYSbNk9A+TgeksnvNwXFp1TzioekyHj/rjPtpdaJX3FsaSlaBJGaCDn+wI+eFZGrMdleLlxhh3MqstTAnwaOu+sJrRV1lRMpOgkhKAv0Sqkx56Gd9scVMwVsG9eBmYu+aktj0x/2/C/b6Z0th9MkuGZt3frJslYJgTjOkOlnT1DfvyDeMfv9F9Y9omRMSaItM0AQe7Ei/7SsOO5nH+uOG+sGHR7KUkyFgjBY8WOFUKwApONxPBVMtvbUCs5pCHtxHw2zQBBtI9MTxqgB5bfGiSOMisO2Ky7yuDhgMJjVHJ1NIwEmZ8BC/KC8o5M35gSQlAfB4qFOEFFc/YcLcbg2s7XyRVpKIeYGRnwQarw4lMTTop9ZOpJiXKdi0G64f5z3bTI4WMyGzwhxdPcDTI125AwQjT1OZa9I/56rgCPRp/MKHZTTvNFGAcZobw8iDRGUqeiI6oSQAhWXj5GCMFk56jzWRnLYarkreiPT4NuzpXwgvvKix0M+ZHylsyTng/CoFUvnlsWAyEaSH+dIsRoHNFXfyGO5qsyweC59UtNHvB/AQYAJxSvvrFB3mUAAAAASUVORK5CYII="></a>
<h1>You have arrived.</h1>
</div>
</body>
</html>
File mode changed from 100644 to 100755
...@@ -32,6 +32,19 @@ if (file_exists($compiled = __DIR__.'/compiled.php')) ...@@ -32,6 +32,19 @@ if (file_exists($compiled = __DIR__.'/compiled.php'))
require $compiled; require $compiled;
} }
/*
|--------------------------------------------------------------------------
| Setup Patchwork UTF-8 Handling
|--------------------------------------------------------------------------
|
| The Patchwork library provides solid handling of UTF-8 strings as well
| as provides replacements for all mb_* and iconv type functions that
| are not available by default in PHP. We'll setup this stuff here.
|
*/
Patchwork\Utf8\Bootup::initMbstring();
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Register The Laravel Auto Loader | Register The Laravel Auto Loader
......
...@@ -13,6 +13,8 @@ ...@@ -13,6 +13,8 @@
$app = new Illuminate\Foundation\Application; $app = new Illuminate\Foundation\Application;
$app->redirectIfTrailingSlash();
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Detect The Application Environment | Detect The Application Environment
...@@ -54,7 +56,7 @@ $app->bindInstallPaths(require __DIR__.'/paths.php'); ...@@ -54,7 +56,7 @@ $app->bindInstallPaths(require __DIR__.'/paths.php');
| |
*/ */
$framework = __DIR__.'/../vendor/laravel/framework/src'; $framework = $app['path.base'].'/vendor/laravel/framework/src';
require $framework.'/Illuminate/Foundation/start.php'; require $framework.'/Illuminate/Foundation/start.php';
......
{ {
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"require": { "require": {
"laravel/framework": "4.0.*" "laravel/framework": "4.1.*"
}, },
"autoload": { "autoload": {
"classmap": [ "classmap": [
...@@ -13,7 +17,21 @@ ...@@ -13,7 +17,21 @@
] ]
}, },
"scripts": { "scripts": {
"post-update-cmd": "php artisan optimize" "post-install-cmd": [
"php artisan optimize"
],
"pre-update-cmd": [
"php artisan clear-compiled"
],
"post-update-cmd": [
"php artisan optimize"
],
"post-create-project-cmd": [
"php artisan key:generate"
]
},
"config": {
"preferred-install": "dist"
}, },
"minimum-stability": "dev" "minimum-stability": "dev"
} }
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>
Options -MultiViews Options -MultiViews
RewriteEngine On RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L] RewriteRule ^ index.php [L]
</IfModule> </IfModule>
\ No newline at end of file
...@@ -26,7 +26,7 @@ require __DIR__.'/../bootstrap/autoload.php'; ...@@ -26,7 +26,7 @@ require __DIR__.'/../bootstrap/autoload.php';
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| We need to illuminate PHP development, so let's turn on the lights. | We need to illuminate PHP development, so let's turn on the lights.
| This bootstrap the framework and gets it ready for use, then it | This bootstraps the framework and gets it ready for use, then it
| will load up this application so that we can run it and send | will load up this application so that we can run it and send
| the responses back to the browser and delight these users. | the responses back to the browser and delight these users.
| |
...@@ -53,7 +53,7 @@ $app->run(); ...@@ -53,7 +53,7 @@ $app->run();
| Shutdown The Application | Shutdown The Application
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| Once the app has finished running. We will fire off the shutdown events | Once the app has finished running, we will fire off the shutdown events
| so that any final work may be done by the application before we shut | so that any final work may be done by the application before we shut
| down the process. This is the last thing to happen to the request. | down the process. This is the last thing to happen to the request.
| |
......
User-agent: * Allow: / User-agent: *
\ No newline at end of file Disallow:
## Laravel 4.x ## Laravel PHP Framework
### A Framework For Web Artisans [![Latest Stable Version](https://poser.pugx.org/laravel/framework/version.png)](https://packagist.org/packages/laravel/framework) [![Total Downloads](https://poser.pugx.org/laravel/framework/d/total.png)](https://packagist.org/packages/laravel/framework) [![Build Status](https://travis-ci.org/laravel/framework.png)](https://travis-ci.org/laravel/framework)
[Official Documentation](http://four.laravel.com) (Under Active Development) Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.
Laravel aims to make the development process a pleasing one for the developer without sacrificing application functionality. Happy developers make the best code. To this end, we've attempted to combine the very best of what we have seen in other web frameworks, including frameworks implemented in other languages, such as Ruby on Rails, ASP.NET MVC, and Sinatra.
Laravel is accessible, yet powerful, providing powerful tools needed for large, robust applications. A superb inversion of control container, expressive migration system, and tightly integrated unit testing support give you the tools you need to build any application with which you are tasked.
## Official Documentation
Documentation for the entire framework can be found on the [Laravel website](http://laravel.com/docs).
### Contributing To Laravel ### Contributing To Laravel
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment