This repository has been archived by the owner on Aug 27, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial commit - add our laravel fork
- Loading branch information
0 parents
commit 7cfa2ee
Showing
309 changed files
with
51,869 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,40 @@ | |||
<?php | |||
|
|||
/* | |||
|-------------------------------------------------------------------------- | |||
| Bundle Configuration | |||
|-------------------------------------------------------------------------- | |||
| | |||
| Bundles allow you to conveniently extend and organize your application. | |||
| Think of bundles as self-contained applications. They can have routes, | |||
| controllers, models, views, configuration, etc. You can even create | |||
| your own bundles to share with the Laravel community. | |||
| | |||
| This is a list of the bundles installed for your application and tells | |||
| Laravel the location of the bundle's root directory, as well as the | |||
| root URI the bundle responds to. | |||
| | |||
| For example, if you have an "admin" bundle located in "bundles/admin" | |||
| that you want to handle requests with URIs that begin with "admin", | |||
| simply add it to the array like this: | |||
| | |||
| 'admin' => array( | |||
| 'location' => 'admin', | |||
| 'handles' => 'admin', | |||
| ), | |||
| | |||
| Note that the "location" is relative to the "bundles" directory. | |||
| Now the bundle will be recognized by Laravel and will be able | |||
| to respond to requests beginning with "admin"! | |||
| | |||
| Have a bundle that lives in the root of the bundle directory | |||
| and doesn't respond to any requests? Just add the bundle | |||
| name to the array and we'll take care of the rest. | |||
| | |||
*/ | |||
|
|||
return array( | |||
|
|||
'docs' => array('handles' => 'docs'), | |||
|
|||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
local/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,185 @@ | |||
<?php | |||
|
|||
return array( | |||
|
|||
/* | |||
|-------------------------------------------------------------------------- | |||
| Application URL | |||
|-------------------------------------------------------------------------- | |||
| | |||
| The URL used to access your application without a trailing slash. The URL | |||
| does not have to be set. If it isn't we'll try our best to guess the URL | |||
| of your application. | |||
| | |||
*/ | |||
|
|||
'url' => '', | |||
|
|||
/* | |||
|-------------------------------------------------------------------------- | |||
| Asset URL | |||
|-------------------------------------------------------------------------- | |||
| | |||
| The base URL used for your application's asset files. This is useful if | |||
| you are serving your assets through a different server or a CDN. If it | |||
| is not set, we'll default to the application URL above. | |||
| | |||
*/ | |||
|
|||
'asset_url' => '', | |||
|
|||
/* | |||
|-------------------------------------------------------------------------- | |||
| Application Index | |||
|-------------------------------------------------------------------------- | |||
| | |||
| If you are including the "index.php" in your URLs, you can ignore this. | |||
| However, if you are using mod_rewrite to get cleaner URLs, just set | |||
| this option to an empty string and we'll take care of the rest. | |||
| | |||
*/ | |||
|
|||
'index' => 'index.php', | |||
|
|||
/* | |||
|-------------------------------------------------------------------------- | |||
| Application Key | |||
|-------------------------------------------------------------------------- | |||
| | |||
| This key is used by the encryption and cookie classes to generate secure | |||
| encrypted strings and hashes. It is extremely important that this key | |||
| remain secret and should not be shared with anyone. Make it about 32 | |||
| characters of random gibberish. | |||
| | |||
*/ | |||
|
|||
'key' => 'YourSecretKeyGoesHere!', | |||
|
|||
/* | |||
|-------------------------------------------------------------------------- | |||
| Profiler Toolbar | |||
|-------------------------------------------------------------------------- | |||
| | |||
| Laravel includes a beautiful profiler toolbar that gives you a heads | |||
| up display of the queries and logs performed by your application. | |||
| This is wonderful for development, but, of course, you should | |||
| disable the toolbar for production applications.. | |||
| | |||
*/ | |||
|
|||
'profiler' => false, | |||
|
|||
/* | |||
|-------------------------------------------------------------------------- | |||
| Application Character Encoding | |||
|-------------------------------------------------------------------------- | |||
| | |||
| The default character encoding used by your application. This encoding | |||
| will be used by the Str, Text, Form, and any other classes that need | |||
| to know what type of encoding to use for your awesome application. | |||
| | |||
*/ | |||
|
|||
'encoding' => 'UTF-8', | |||
|
|||
/* | |||
|-------------------------------------------------------------------------- | |||
| Application Language | |||
|-------------------------------------------------------------------------- | |||
| | |||
| The default language of your application. This language will be used by | |||
| Lang library as the default language when doing string localization. | |||
| | |||
*/ | |||
|
|||
'language' => 'en', | |||
|
|||
/* | |||
|-------------------------------------------------------------------------- | |||
| SSL Link Generation | |||
|-------------------------------------------------------------------------- | |||
| | |||
| Many sites use SSL to protect their users data. However, you may not be | |||
| able to use SSL on your development machine, meaning all HTTPS will be | |||
| broken during development. | |||
| | |||
| For this reason, you may wish to disable the generation of HTTPS links | |||
| throughout your application. This option does just that. All attempts | |||
| to generate HTTPS links will generate regular HTTP links instead. | |||
| | |||
*/ | |||
|
|||
'ssl' => true, | |||
|
|||
/* | |||
|-------------------------------------------------------------------------- | |||
| Application Timezone | |||
|-------------------------------------------------------------------------- | |||
| | |||
| The default timezone of your application. The timezone will be used when | |||
| Laravel needs a date, such as when writing to a log file or travelling | |||
| to a distant star at warp speed. | |||
| | |||
*/ | |||
|
|||
'timezone' => 'UTC', | |||
|
|||
/* | |||
|-------------------------------------------------------------------------- | |||
| Class Aliases | |||
|-------------------------------------------------------------------------- | |||
| | |||
| Here, you can specify any class aliases that you would like registered | |||
| when Laravel loads. Aliases are lazy-loaded, so feel free to add! | |||
| | |||
| Aliases make it more convenient to use namespaced classes. Instead of | |||
| referring to the class using its full namespace, you may simply use | |||
| the alias defined here. | |||
| | |||
*/ | |||
|
|||
'aliases' => array( | |||
'Auth' => 'Laravel\\Auth', | |||
'Authenticator' => 'Laravel\\Auth\\Drivers\\Driver', | |||
'Asset' => 'Laravel\\Asset', | |||
'Autoloader' => 'Laravel\\Autoloader', | |||
'Blade' => 'Laravel\\Blade', | |||
'Bundle' => 'Laravel\\Bundle', | |||
'Cache' => 'Laravel\\Cache', | |||
'Config' => 'Laravel\\Config', | |||
'Controller' => 'Laravel\\Routing\\Controller', | |||
'Cookie' => 'Laravel\\Cookie', | |||
'Crypter' => 'Laravel\\Crypter', | |||
'DB' => 'Laravel\\Database', | |||
'Eloquent' => 'Laravel\\Database\\Eloquent\\Model', | |||
'Event' => 'Laravel\\Event', | |||
'File' => 'Laravel\\File', | |||
'Filter' => 'Laravel\\Routing\\Filter', | |||
'Form' => 'Laravel\\Form', | |||
'Hash' => 'Laravel\\Hash', | |||
'HTML' => 'Laravel\\HTML', | |||
'Input' => 'Laravel\\Input', | |||
'IoC' => 'Laravel\\IoC', | |||
'Lang' => 'Laravel\\Lang', | |||
'Log' => 'Laravel\\Log', | |||
'Memcached' => 'Laravel\\Memcached', | |||
'Paginator' => 'Laravel\\Paginator', | |||
'Profiler' => 'Laravel\\Profiling\\Profiler', | |||
'URL' => 'Laravel\\URL', | |||
'Redirect' => 'Laravel\\Redirect', | |||
'Redis' => 'Laravel\\Redis', | |||
'Request' => 'Laravel\\Request', | |||
'Response' => 'Laravel\\Response', | |||
'Route' => 'Laravel\\Routing\\Route', | |||
'Router' => 'Laravel\\Routing\\Router', | |||
'Schema' => 'Laravel\\Database\\Schema', | |||
'Section' => 'Laravel\\Section', | |||
'Session' => 'Laravel\\Session', | |||
'Str' => 'Laravel\\Str', | |||
'Task' => 'Laravel\\CLI\\Tasks\\Task', | |||
'URI' => 'Laravel\\URI', | |||
'Validator' => 'Laravel\\Validator', | |||
'View' => 'Laravel\\View', | |||
), | |||
|
|||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,73 @@ | |||
<?php | |||
|
|||
return array( | |||
|
|||
/* | |||
|-------------------------------------------------------------------------- | |||
| Default Authentication Driver | |||
|-------------------------------------------------------------------------- | |||
| | |||
| Laravel uses a flexible driver-based system to handle authentication. | |||
| You are free to register your own drivers using the Auth::extend | |||
| method. Of course, a few great drivers are provided out of | |||
| box to handle basic authentication simply and easily. | |||
| | |||
| Drivers: 'fluent', 'eloquent'. | |||
| | |||
*/ | |||
|
|||
'driver' => 'eloquent', | |||
|
|||
/* | |||
|-------------------------------------------------------------------------- | |||
| Authentication Username | |||
|-------------------------------------------------------------------------- | |||
| | |||
| Here you may specify the database column that should be considered the | |||
| "username" for your users. Typically, this will either be "username" | |||
| or "email". Of course, you're free to change the value to anything. | |||
| | |||
*/ | |||
|
|||
'username' => 'email', | |||
|
|||
/* | |||
|-------------------------------------------------------------------------- | |||
| Authentication Password | |||
|-------------------------------------------------------------------------- | |||
| | |||
| Here you may specify the database column that should be considered the | |||
| "password" for your users. Typically, this will be "password" but, | |||
| again, you're free to change the value to anything you see fit. | |||
| | |||
*/ | |||
|
|||
'password' => 'password', | |||
|
|||
/* | |||
|-------------------------------------------------------------------------- | |||
| Authentication Model | |||
|-------------------------------------------------------------------------- | |||
| | |||
| When using the "eloquent" authentication driver, you may specify the | |||
| model that should be considered the "User" model. This model will | |||
| be used to authenticate and load the users of your application. | |||
| | |||
*/ | |||
|
|||
'model' => 'User', | |||
|
|||
/* | |||
|-------------------------------------------------------------------------- | |||
| Authentication Table | |||
|-------------------------------------------------------------------------- | |||
| | |||
| When using the "fluent" authentication driver, the database table used | |||
| to load users may be specified here. This table will be used in by | |||
| the fluent query builder to authenticate and load your users. | |||
| | |||
*/ | |||
|
|||
'table' => 'users', | |||
|
|||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,71 @@ | |||
<?php | |||
|
|||
return array( | |||
|
|||
/* | |||
|-------------------------------------------------------------------------- | |||
| Cache Driver | |||
|-------------------------------------------------------------------------- | |||
| | |||
| The name of the default cache driver for your application. Caching can | |||
| be used to increase the performance of your application by storing any | |||
| commonly accessed data in memory, a file, or some other storage. | |||
| | |||
| A variety of great drivers are available for you to use with Laravel. | |||
| Some, like APC, are extremely fast. However, if that isn't an option | |||
| in your environment, try file or database caching. | |||
| | |||
| Drivers: 'file', 'memcached', 'apc', 'redis', 'database'. | |||
| | |||
*/ | |||
|
|||
'driver' => 'file', | |||
|
|||
/* | |||
|-------------------------------------------------------------------------- | |||
| Cache Key | |||
|-------------------------------------------------------------------------- | |||
| | |||
| This key will be prepended to item keys stored using Memcached and APC | |||
| to prevent collisions with other applications on the server. Since the | |||
| memory based stores could be shared by other applications, we need to | |||
| be polite and use a prefix to uniquely identifier our items. | |||
| | |||
*/ | |||
|
|||
'key' => 'laravel', | |||
|
|||
/* | |||
|-------------------------------------------------------------------------- | |||
| Cache Database | |||
|-------------------------------------------------------------------------- | |||
| | |||
| When using the database cache driver, this database table will be used | |||
| to store the cached item. You may also add a "connection" option to | |||
| the array to specify which database connection should be used. | |||
| | |||
*/ | |||
|
|||
'database' => array('table' => 'laravel_cache'), | |||
|
|||
/* | |||
|-------------------------------------------------------------------------- | |||
| Memcached Servers | |||
|-------------------------------------------------------------------------- | |||
| | |||
| The Memcached servers used by your application. Memcached is a free and | |||
| open source, high-performance, distributed memory caching system. It is | |||
| generic in nature but intended for use in speeding up web applications | |||
| by alleviating database load. | |||
| | |||
| For more information, check out: http://memcached.org | |||
| | |||
*/ | |||
|
|||
'memcached' => array( | |||
|
|||
array('host' => '127.0.0.1', 'port' => 11211, 'weight' => 100), | |||
|
|||
), | |||
|
|||
); |
Oops, something went wrong.