c596984f81
new file: SRC/.gitattributes new file: SRC/.gitignore new file: SRC/CONTRIBUTING.md new file: SRC/app/commands/.gitkeep new file: SRC/app/config/app.php new file: SRC/app/config/auth.php new file: SRC/app/config/cache.php new file: SRC/app/config/compile.php new file: SRC/app/config/database.php new file: SRC/app/config/local/app.php new file: SRC/app/config/local/database.php new file: SRC/app/config/mail.php new file: SRC/app/config/packages/.gitkeep new file: SRC/app/config/queue.php new file: SRC/app/config/remote.php new file: SRC/app/config/services.php new file: SRC/app/config/session.php new file: SRC/app/config/testing/cache.php new file: SRC/app/config/testing/session.php new file: SRC/app/config/view.php new file: SRC/app/config/workbench.php new file: SRC/app/controllers/.gitkeep new file: SRC/app/controllers/BaseController.php new file: SRC/app/controllers/HomeController.php new file: SRC/app/database/.gitignore new file: SRC/app/database/migrations/.gitkeep new file: SRC/app/database/seeds/.gitkeep new file: SRC/app/database/seeds/DatabaseSeeder.php new file: SRC/app/filters.php new file: SRC/app/lang/en/pagination.php new file: SRC/app/lang/en/reminders.php new file: SRC/app/lang/en/validation.php new file: SRC/app/models/User.php new file: SRC/app/routes.php new file: SRC/app/start/artisan.php new file: SRC/app/start/global.php new file: SRC/app/start/local.php new file: SRC/app/storage/.gitignore new file: SRC/app/storage/cache/.gitignore new file: SRC/app/storage/logs/.gitignore new file: SRC/app/storage/meta/.gitignore new file: SRC/app/storage/sessions/.gitignore new file: SRC/app/storage/views/.gitignore new file: SRC/app/tests/ExampleTest.php new file: SRC/app/tests/TestCase.php new file: SRC/app/views/emails/auth/reminder.blade.php new file: SRC/app/views/hello.php new file: SRC/artisan new file: SRC/bootstrap/autoload.php new file: SRC/bootstrap/paths.php new file: SRC/bootstrap/start.php new file: SRC/composer.json new file: SRC/phpunit.xml new file: SRC/public/.htaccess new file: SRC/public/favicon.ico new file: SRC/public/home.jpg new file: SRC/public/home.png new file: SRC/public/index.php new file: SRC/public/packages/.gitkeep new file: SRC/public/robots.txt new file: SRC/readme.md new file: SRC/server.php
125 lines
3.2 KiB
PHP
125 lines
3.2 KiB
PHP
<?php
|
|
|
|
return array(
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| PDO Fetch Style
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| By default, database results will be returned as instances of the PHP
|
|
| stdClass object; however, you may desire to retrieve records in an
|
|
| array format for simplicity. Here you can tweak the fetch style.
|
|
|
|
|
*/
|
|
|
|
'fetch' => PDO::FETCH_CLASS,
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Default Database Connection Name
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here you may specify which of the database connections below you wish
|
|
| to use as your default connection for all database work. Of course
|
|
| you may use many connections at once using the Database library.
|
|
|
|
|
*/
|
|
|
|
'default' => 'mysql',
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Database Connections
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here are each of the database connections setup for your application.
|
|
| Of course, examples of configuring each database platform that is
|
|
| supported by Laravel is shown below to make development simple.
|
|
|
|
|
|
|
|
| All database work in Laravel is done through the PHP PDO facilities
|
|
| so make sure you have the driver for your particular database of
|
|
| choice installed on your machine before you begin development.
|
|
|
|
|
*/
|
|
|
|
'connections' => array(
|
|
|
|
'sqlite' => array(
|
|
'driver' => 'sqlite',
|
|
'database' => __DIR__.'/../database/production.sqlite',
|
|
'prefix' => '',
|
|
),
|
|
|
|
'mysql' => array(
|
|
'driver' => 'mysql',
|
|
'host' => 'localhost',
|
|
'database' => 'forge',
|
|
'username' => 'forge',
|
|
'password' => '',
|
|
'charset' => 'utf8',
|
|
'collation' => 'utf8_unicode_ci',
|
|
'prefix' => '',
|
|
),
|
|
|
|
'pgsql' => array(
|
|
'driver' => 'pgsql',
|
|
'host' => 'localhost',
|
|
'database' => 'forge',
|
|
'username' => 'forge',
|
|
'password' => '',
|
|
'charset' => 'utf8',
|
|
'prefix' => '',
|
|
'schema' => 'public',
|
|
),
|
|
|
|
'sqlsrv' => array(
|
|
'driver' => 'sqlsrv',
|
|
'host' => 'localhost',
|
|
'database' => 'database',
|
|
'username' => 'root',
|
|
'password' => '',
|
|
'prefix' => '',
|
|
),
|
|
|
|
),
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Migration Repository Table
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| This table keeps track of all the migrations that have already run for
|
|
| your application. Using this information, we can determine which of
|
|
| the migrations on disk haven't actually been run in the database.
|
|
|
|
|
*/
|
|
|
|
'migrations' => 'migrations',
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Redis Databases
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Redis is an open source, fast, and advanced key-value store that also
|
|
| provides a richer set of commands than a typical key-value systems
|
|
| such as APC or Memcached. Laravel makes it easy to dig right in.
|
|
|
|
|
*/
|
|
|
|
'redis' => array(
|
|
|
|
'cluster' => false,
|
|
|
|
'default' => array(
|
|
'host' => '127.0.0.1',
|
|
'port' => 6379,
|
|
'database' => 0,
|
|
),
|
|
|
|
),
|
|
|
|
);
|