fixed database namespacing.
This commit is contained in:
@@ -12,7 +12,7 @@ return array(
|
|||||||
| Since HTTP is stateless, sessions are used to maintain "state" across
|
| Since HTTP is stateless, sessions are used to maintain "state" across
|
||||||
| multiple requests from the same user of your application.
|
| multiple requests from the same user of your application.
|
||||||
|
|
|
|
||||||
| Supported Drivers: 'cookie', 'file', 'db', 'memcached', 'apc'.
|
| Supported Drivers: 'cookie', 'file', 'database', 'memcached', 'apc'.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -25,7 +25,7 @@ return array(
|
|||||||
|
|
|
|
||||||
| The database table on which the session should be stored.
|
| The database table on which the session should be stored.
|
||||||
|
|
|
|
||||||
| This option is only relevant when using the "db" session driver.
|
| This option is only relevant when using the "database" session driver.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?php namespace Laravel\DB\Connector;
|
<?php namespace Laravel\Database\Connector;
|
||||||
|
|
||||||
use Laravel\DB\Connector;
|
use Laravel\Database\Connector;
|
||||||
|
|
||||||
class Callback extends Connector {
|
class Callback extends Connector {
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<?php namespace Laravel\DB\Connector;
|
<?php namespace Laravel\Database\Connector;
|
||||||
|
|
||||||
class Factory {
|
class Factory {
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?php namespace Laravel\DB\Connector;
|
<?php namespace Laravel\Database\Connector;
|
||||||
|
|
||||||
use Laravel\DB\Connector;
|
use Laravel\Database\Connector;
|
||||||
|
|
||||||
class MySQL extends Connector {
|
class MySQL extends Connector {
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?php namespace Laravel\DB\Connector;
|
<?php namespace Laravel\Database\Connector;
|
||||||
|
|
||||||
use Laravel\DB\Connector;
|
use Laravel\Database\Connector;
|
||||||
|
|
||||||
class Postgres extends Connector {
|
class Postgres extends Connector {
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?php namespace Laravel\DB\Connector;
|
<?php namespace Laravel\Database\Connector;
|
||||||
|
|
||||||
use Laravel\DB\Connector;
|
use Laravel\Database\Connector;
|
||||||
|
|
||||||
class SQLite extends Connector {
|
class SQLite extends Connector {
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ unset($laravel, $application, $config, $packages, $public, $storage);
|
|||||||
define('CACHE_PATH', STORAGE_PATH.'cache/');
|
define('CACHE_PATH', STORAGE_PATH.'cache/');
|
||||||
define('CONFIG_PATH', APP_PATH.'config/');
|
define('CONFIG_PATH', APP_PATH.'config/');
|
||||||
define('CONTROLLER_PATH', APP_PATH.'controllers/');
|
define('CONTROLLER_PATH', APP_PATH.'controllers/');
|
||||||
define('DATABASE_PATH', STORAGE_PATH.'db/');
|
define('DATABASE_PATH', STORAGE_PATH.'database/');
|
||||||
define('LANG_PATH', APP_PATH.'language/');
|
define('LANG_PATH', APP_PATH.'language/');
|
||||||
define('SCRIPT_PATH', PUBLIC_PATH.'js/');
|
define('SCRIPT_PATH', PUBLIC_PATH.'js/');
|
||||||
define('SESSION_PATH', STORAGE_PATH.'sessions/');
|
define('SESSION_PATH', STORAGE_PATH.'sessions/');
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<?php namespace Laravel\Validation;
|
<?php namespace Laravel\Validation;
|
||||||
|
|
||||||
use Laravel\Lang;
|
use Laravel\Lang;
|
||||||
use Laravel\DB\Manager as DB;
|
use Laravel\Database\Manager as DB;
|
||||||
|
|
||||||
class Validator {
|
class Validator {
|
||||||
|
|
||||||
@@ -541,10 +541,10 @@ class Validator {
|
|||||||
/**
|
/**
|
||||||
* Set the database connection that should be used by the validator.
|
* Set the database connection that should be used by the validator.
|
||||||
*
|
*
|
||||||
* @param DB\Connection $connection
|
* @param Database\Connection $connection
|
||||||
* @return Validator
|
* @return Validator
|
||||||
*/
|
*/
|
||||||
public function connection(DB\Connection $connection)
|
public function connection(Database\Connection $connection)
|
||||||
{
|
{
|
||||||
$this->connection = $connection;
|
$this->connection = $connection;
|
||||||
return $this;
|
return $this;
|
||||||
|
|||||||
Reference in New Issue
Block a user