Illuminate \ Database \ QueryException (1045)
SQLSTATE[HY000] [1045] Access denied for user 'kciti'@'localhost' (using password: YES) (SQL: select * from information_schema.tables where table_schema = kciti and table_name = configs)
Previous exceptions
  • SQLSTATE[HY000] [1045] Access denied for user 'kciti'@'localhost' (using password: YES) (1045)
  • SQLSTATE[HY000] [1045] Access denied for user 'kciti'@'localhost' (using password: YES) (1045)
Illuminate\Database\QueryException thrown with message "SQLSTATE[HY000] [1045] Access denied for user 'kciti'@'localhost' (using password: YES) (SQL: select * from information_schema.tables where table_schema = kciti and table_name = configs)" Stacktrace: #35 Illuminate\Database\QueryException in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664 #34 Illuminate\Foundation\Application:Illuminate\Foundation\{closure} in [internal]:0 #33 Doctrine\DBAL\Driver\PDOException in /home/kciti/public_html/neonapp/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31 #32 Illuminate\Foundation\Application:Illuminate\Foundation\{closure} in [internal]:0 #31 PDOException in /home/kciti/public_html/neonapp/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27 #30 PDO:__construct in /home/kciti/public_html/neonapp/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27 #29 Doctrine\DBAL\Driver\PDOConnection:__construct in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:67 #28 Illuminate\Database\Connectors\Connector:createPdoConnection in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:46 #27 Illuminate\Database\Connectors\Connector:createConnection in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:24 #26 Illuminate\Database\Connectors\MySqlConnector:connect in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:182 #25 Illuminate\Database\Connectors\ConnectionFactory:Illuminate\Database\Connectors\{closure} in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Database/Connection.php:918 #24 call_user_func in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Database/Connection.php:918 #23 Illuminate\Database\Connection:getPdo in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Database/Connection.php:943 #22 Illuminate\Database\Connection:getReadPdo in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Database/Connection.php:399 #21 Illuminate\Database\Connection:getPdoForSelect in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Database/Connection.php:325 #20 Illuminate\Database\Connection:Illuminate\Database\{closure} in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Database/Connection.php:657 #19 Illuminate\Database\Connection:runQueryCallback in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624 #18 Illuminate\Database\Connection:run in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Database/Connection.php:333 #17 Illuminate\Database\Connection:select in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Database/Schema/MySqlBuilder.php:18 #16 Illuminate\Database\Schema\MySqlBuilder:hasTable in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:237 #15 Illuminate\Support\Facades\Facade:__callStatic in /home/kciti/public_html/neonapp/app/Providers/AppServiceProvider.php:79 #14 App\Providers\AppServiceProvider:boot in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29 #13 call_user_func_array in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29 #12 Illuminate\Container\BoundMethod:Illuminate\Container\{closure} in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:87 #11 Illuminate\Container\BoundMethod:callBoundMethod in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:31 #10 Illuminate\Container\BoundMethod:call in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Container/Container.php:572 #9 Illuminate\Container\Container:call in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:819 #8 Illuminate\Foundation\Application:bootProvider in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:802 #7 Illuminate\Foundation\Application:Illuminate\Foundation\{closure} in [internal]:0 #6 array_walk in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:803 #5 Illuminate\Foundation\Application:boot in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php:17 #4 Illuminate\Foundation\Bootstrap\BootProviders:bootstrap in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:211 #3 Illuminate\Foundation\Application:bootstrapWith in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:162 #2 Illuminate\Foundation\Http\Kernel:bootstrap in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:146 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /home/kciti/public_html/neonapp/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 #0 Illuminate\Foundation\Http\Kernel:handle in /home/kciti/public_html/elearning/index.php:53
35
Illuminate
\
Database
\
QueryException
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
664
34
Illuminate
\
Foundation
\
Application
Illuminate
\
Foundation
\
{closure}
[internal]
0
33
Doctrine
\
DBAL
\
Driver
\
PDOException
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOConnection.php
31
32
Illuminate
\
Foundation
\
Application
Illuminate
\
Foundation
\
{closure}
[internal]
0
31
PDOException
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOConnection.php
27
30
PDO
__construct
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOConnection.php
27
29
Doctrine
\
DBAL
\
Driver
\
PDOConnection
__construct
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connectors
/
Connector.php
67
28
Illuminate
\
Database
\
Connectors
\
Connector
createPdoConnection
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connectors
/
Connector.php
46
27
Illuminate
\
Database
\
Connectors
\
Connector
createConnection
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connectors
/
MySqlConnector.php
24
26
Illuminate
\
Database
\
Connectors
\
MySqlConnector
connect
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connectors
/
ConnectionFactory.php
182
25
Illuminate
\
Database
\
Connectors
\
ConnectionFactory
Illuminate
\
Database
\
Connectors
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
918
24
call_user_func
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
918
23
Illuminate
\
Database
\
Connection
getPdo
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
943
22
Illuminate
\
Database
\
Connection
getReadPdo
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
399
21
Illuminate
\
Database
\
Connection
getPdoForSelect
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
325
20
Illuminate
\
Database
\
Connection
Illuminate
\
Database
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
657
19
Illuminate
\
Database
\
Connection
runQueryCallback
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
624
18
Illuminate
\
Database
\
Connection
run
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
333
17
Illuminate
\
Database
\
Connection
select
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Schema
/
MySqlBuilder.php
18
16
Illuminate
\
Database
\
Schema
\
MySqlBuilder
hasTable
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Support
/
Facades
/
Facade.php
237
15
Illuminate
\
Support
\
Facades
\
Facade
__callStatic
/
app
/
Providers
/
AppServiceProvider.php
79
14
App
\
Providers
\
AppServiceProvider
boot
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Container
/
BoundMethod.php
29
13
call_user_func_array
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Container
/
BoundMethod.php
29
12
Illuminate
\
Container
\
BoundMethod
Illuminate
\
Container
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Container
/
BoundMethod.php
87
11
Illuminate
\
Container
\
BoundMethod
callBoundMethod
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Container
/
BoundMethod.php
31
10
Illuminate
\
Container
\
BoundMethod
call
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Container
/
Container.php
572
9
Illuminate
\
Container
\
Container
call
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
819
8
Illuminate
\
Foundation
\
Application
bootProvider
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
802
7
Illuminate
\
Foundation
\
Application
Illuminate
\
Foundation
\
{closure}
[internal]
0
6
array_walk
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
803
5
Illuminate
\
Foundation
\
Application
boot
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Bootstrap
/
BootProviders.php
17
4
Illuminate
\
Foundation
\
Bootstrap
\
BootProviders
bootstrap
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
211
3
Illuminate
\
Foundation
\
Application
bootstrapWith
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
162
2
Illuminate
\
Foundation
\
Http
\
Kernel
bootstrap
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
146
1
Illuminate
\
Foundation
\
Http
\
Kernel
sendRequestThroughRouter
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
116
0
Illuminate
\
Foundation
\
Http
\
Kernel
handle
/
home
/
kciti
/
public_html
/
elearning
/
index.php
53
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
     * @param  array     $bindings
     * @param  \Closure  $callback
     * @return mixed
     *
     * @throws \Illuminate\Database\QueryException
     */
    protected function runQueryCallback($query, $bindings, Closure $callback)
    {
        // To execute the statement, we'll simply call the callback, which will actually
        // run the SQL against the PDO connection. Then we can calculate the time it
        // took to execute and log the query SQL, bindings and time in our memory.
        try {
            $result = $callback($query, $bindings);
        }
 
        // If an exception occurs when attempting to run a query, we'll format the error
        // message to include the bindings with SQL, which will make this exception a
        // lot more helpful to the developer instead of just the database's errors.
        catch (Exception $e) {
            throw new QueryException(
                $query, $this->prepareBindings($bindings), $e
            );
        }
 
        return $result;
    }
 
    /**
     * Log a query in the connection's query log.
     *
     * @param  string  $query
     * @param  array   $bindings
     * @param  float|null  $time
     * @return void
     */
    public function logQuery($query, $bindings, $time = null)
    {
        $this->event(new QueryExecuted($query, $bindings, $time, $this));
 
        if ($this->loggingQueries) {
Arguments
  1. "SQLSTATE[HY000] [1045] Access denied for user 'kciti'@'localhost' (using password: YES) (SQL: select * from information_schema.tables where table_schema = kciti and table_name = configs)"
    
[internal]
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOConnection.php
 * Used by all PDO-based drivers.
 */
class PDOConnection extends PDO implements Connection, ServerInfoAwareConnection
{
    /**
     * @param string       $dsn
     * @param string|null  $user
     * @param string|null  $password
     * @param mixed[]|null $options
     *
     * @throws PDOException In case of an error.
     */
    public function __construct($dsn, $user = null, $password = null, ?array $options = null)
    {
        try {
            parent::__construct($dsn, $user, $password, $options);
            $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, [PDOStatement::class, []]);
            $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function exec($statement)
    {
        try {
            return parent::exec($statement);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function getServerVersion()
    {
Arguments
  1. "SQLSTATE[HY000] [1045] Access denied for user 'kciti'@'localhost' (using password: YES)"
    
Exception message: SQLSTATE[HY000] [1045] Access denied for user 'kciti'@'localhost' (using password: YES)
[internal]
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOConnection.php
use function func_get_args;
 
/**
 * PDO implementation of the Connection interface.
 * Used by all PDO-based drivers.
 */
class PDOConnection extends PDO implements Connection, ServerInfoAwareConnection
{
    /**
     * @param string       $dsn
     * @param string|null  $user
     * @param string|null  $password
     * @param mixed[]|null $options
     *
     * @throws PDOException In case of an error.
     */
    public function __construct($dsn, $user = null, $password = null, ?array $options = null)
    {
        try {
            parent::__construct($dsn, $user, $password, $options);
            $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, [PDOStatement::class, []]);
            $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function exec($statement)
    {
        try {
            return parent::exec($statement);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
Arguments
  1. "SQLSTATE[HY000] [1045] Access denied for user 'kciti'@'localhost' (using password: YES)"
    
Exception message: SQLSTATE[HY000] [1045] Access denied for user 'kciti'@'localhost' (using password: YES)
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOConnection.php
use function func_get_args;
 
/**
 * PDO implementation of the Connection interface.
 * Used by all PDO-based drivers.
 */
class PDOConnection extends PDO implements Connection, ServerInfoAwareConnection
{
    /**
     * @param string       $dsn
     * @param string|null  $user
     * @param string|null  $password
     * @param mixed[]|null $options
     *
     * @throws PDOException In case of an error.
     */
    public function __construct($dsn, $user = null, $password = null, ?array $options = null)
    {
        try {
            parent::__construct($dsn, $user, $password, $options);
            $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, [PDOStatement::class, []]);
            $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function exec($statement)
    {
        try {
            return parent::exec($statement);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connectors
/
Connector.php
        } catch (Exception $e) {
            return $this->tryAgainIfCausedByLostConnection(
                $e, $dsn, $username, $password, $options
            );
        }
    }
 
    /**
     * Create a new PDO connection instance.
     *
     * @param  string  $dsn
     * @param  string  $username
     * @param  string  $password
     * @param  array  $options
     * @return \PDO
     */
    protected function createPdoConnection($dsn, $username, $password, $options)
    {
        if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
            return new PDOConnection($dsn, $username, $password, $options);
        }
 
        return new PDO($dsn, $username, $password, $options);
    }
 
    /**
     * Determine if the connection is persistent.
     *
     * @param  array  $options
     * @return bool
     */
    protected function isPersistentConnection($options)
    {
        return isset($options[PDO::ATTR_PERSISTENT]) &&
               $options[PDO::ATTR_PERSISTENT];
    }
 
    /**
     * Handle an exception that occurred during connect execution.
     *
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connectors
/
Connector.php
 
    /**
     * Create a new PDO connection.
     *
     * @param  string  $dsn
     * @param  array   $config
     * @param  array   $options
     * @return \PDO
     *
     * @throws \Exception
     */
    public function createConnection($dsn, array $config, array $options)
    {
        [$username, $password] = [
            $config['username'] ?? null, $config['password'] ?? null,
        ];
 
        try {
            return $this->createPdoConnection(
                $dsn, $username, $password, $options
            );
        } catch (Exception $e) {
            return $this->tryAgainIfCausedByLostConnection(
                $e, $dsn, $username, $password, $options
            );
        }
    }
 
    /**
     * Create a new PDO connection instance.
     *
     * @param  string  $dsn
     * @param  string  $username
     * @param  string  $password
     * @param  array  $options
     * @return \PDO
     */
    protected function createPdoConnection($dsn, $username, $password, $options)
    {
        if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connectors
/
MySqlConnector.php
use PDO;
 
class MySqlConnector extends Connector implements ConnectorInterface
{
    /**
     * Establish a database connection.
     *
     * @param  array  $config
     * @return \PDO
     */
    public function connect(array $config)
    {
        $dsn = $this->getDsn($config);
 
        $options = $this->getOptions($config);
 
        // We need to grab the PDO options that should be used while making the brand
        // new connection instance. The PDO options control various aspects of the
        // connection's behavior, and some might be specified by the developers.
        $connection = $this->createConnection($dsn, $config, $options);
 
        if (! empty($config['database'])) {
            $connection->exec("use `{$config['database']}`;");
        }
 
        $this->configureEncoding($connection, $config);
 
        // Next, we will check to see if a timezone has been specified in this config
        // and if it has we will issue a statement to modify the timezone with the
        // database. Setting this DB timezone is an optional configuration item.
        $this->configureTimezone($connection, $config);
 
        $this->setModes($connection, $config);
 
        return $connection;
    }
 
    /**
     * Set the connection character set and collation.
     *
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connectors
/
ConnectionFactory.php
    {
        return array_key_exists('host', $config)
                            ? $this->createPdoResolverWithHosts($config)
                            : $this->createPdoResolverWithoutHosts($config);
    }
 
    /**
     * Create a new Closure that resolves to a PDO instance with a specific host or an array of hosts.
     *
     * @param  array  $config
     * @return \Closure
     */
    protected function createPdoResolverWithHosts(array $config)
    {
        return function () use ($config) {
            foreach (Arr::shuffle($hosts = $this->parseHosts($config)) as $key => $host) {
                $config['host'] = $host;
 
                try {
                    return $this->createConnector($config)->connect($config);
                } catch (PDOException $e) {
                    continue;
                }
            }
 
            throw $e;
        };
    }
 
    /**
     * Parse the hosts configuration item into an array.
     *
     * @param  array  $config
     * @return array
     */
    protected function parseHosts(array $config)
    {
        $hosts = Arr::wrap($config['host']);
 
        if (empty($hosts)) {
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
 
            $this->doctrineConnection = new DoctrineConnection([
                'pdo' => $this->getPdo(),
                'dbname' => $this->getConfig('database'),
                'driver' => $driver->getName(),
            ], $driver);
        }
 
        return $this->doctrineConnection;
    }
 
    /**
     * Get the current PDO connection.
     *
     * @return \PDO
     */
    public function getPdo()
    {
        if ($this->pdo instanceof Closure) {
            return $this->pdo = call_user_func($this->pdo);
        }
 
        return $this->pdo;
    }
 
    /**
     * Get the current PDO connection used for reading.
     *
     * @return \PDO
     */
    public function getReadPdo()
    {
        if ($this->transactions > 0) {
            return $this->getPdo();
        }
 
        if ($this->recordsModified && $this->getConfig('sticky')) {
            return $this->getPdo();
        }
 
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
 
            $this->doctrineConnection = new DoctrineConnection([
                'pdo' => $this->getPdo(),
                'dbname' => $this->getConfig('database'),
                'driver' => $driver->getName(),
            ], $driver);
        }
 
        return $this->doctrineConnection;
    }
 
    /**
     * Get the current PDO connection.
     *
     * @return \PDO
     */
    public function getPdo()
    {
        if ($this->pdo instanceof Closure) {
            return $this->pdo = call_user_func($this->pdo);
        }
 
        return $this->pdo;
    }
 
    /**
     * Get the current PDO connection used for reading.
     *
     * @return \PDO
     */
    public function getReadPdo()
    {
        if ($this->transactions > 0) {
            return $this->getPdo();
        }
 
        if ($this->recordsModified && $this->getConfig('sticky')) {
            return $this->getPdo();
        }
 
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
    /**
     * Get the current PDO connection used for reading.
     *
     * @return \PDO
     */
    public function getReadPdo()
    {
        if ($this->transactions > 0) {
            return $this->getPdo();
        }
 
        if ($this->recordsModified && $this->getConfig('sticky')) {
            return $this->getPdo();
        }
 
        if ($this->readPdo instanceof Closure) {
            return $this->readPdo = call_user_func($this->readPdo);
        }
 
        return $this->readPdo ?: $this->getPdo();
    }
 
    /**
     * Set the PDO connection.
     *
     * @param  \PDO|\Closure|null  $pdo
     * @return $this
     */
    public function setPdo($pdo)
    {
        $this->transactions = 0;
 
        $this->pdo = $pdo;
 
        return $this;
    }
 
    /**
     * Set the PDO connection used for reading.
     *
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
    protected function prepared(PDOStatement $statement)
    {
        $statement->setFetchMode($this->fetchMode);
 
        $this->event(new Events\StatementPrepared(
            $this, $statement
        ));
 
        return $statement;
    }
 
    /**
     * Get the PDO connection to use for a select query.
     *
     * @param  bool  $useReadPdo
     * @return \PDO
     */
    protected function getPdoForSelect($useReadPdo = true)
    {
        return $useReadPdo ? $this->getReadPdo() : $this->getPdo();
    }
 
    /**
     * Run an insert statement against the database.
     *
     * @param  string  $query
     * @param  array   $bindings
     * @return bool
     */
    public function insert($query, $bindings = [])
    {
        return $this->statement($query, $bindings);
    }
 
    /**
     * Run an update statement against the database.
     *
     * @param  string  $query
     * @param  array   $bindings
     * @return int
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
 
    /**
     * Run a select statement against the database.
     *
     * @param  string  $query
     * @param  array  $bindings
     * @param  bool  $useReadPdo
     * @return array
     */
    public function select($query, $bindings = [], $useReadPdo = true)
    {
        return $this->run($query, $bindings, function ($query, $bindings) use ($useReadPdo) {
            if ($this->pretending()) {
                return [];
            }
 
            // For select statements, we'll simply execute the query and return an array
            // of the database result set. Each element in the array will be a single
            // row from the database table, and will either be an array or objects.
            $statement = $this->prepared($this->getPdoForSelect($useReadPdo)
                              ->prepare($query));
 
            $this->bindValues($statement, $this->prepareBindings($bindings));
 
            $statement->execute();
 
            return $statement->fetchAll();
        });
    }
 
    /**
     * Run a select statement against the database and returns a generator.
     *
     * @param  string  $query
     * @param  array  $bindings
     * @param  bool  $useReadPdo
     * @return \Generator
     */
    public function cursor($query, $bindings = [], $useReadPdo = true)
    {
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
        return $result;
    }
 
    /**
     * Run a SQL statement.
     *
     * @param  string    $query
     * @param  array     $bindings
     * @param  \Closure  $callback
     * @return mixed
     *
     * @throws \Illuminate\Database\QueryException
     */
    protected function runQueryCallback($query, $bindings, Closure $callback)
    {
        // To execute the statement, we'll simply call the callback, which will actually
        // run the SQL against the PDO connection. Then we can calculate the time it
        // took to execute and log the query SQL, bindings and time in our memory.
        try {
            $result = $callback($query, $bindings);
        }
 
        // If an exception occurs when attempting to run a query, we'll format the error
        // message to include the bindings with SQL, which will make this exception a
        // lot more helpful to the developer instead of just the database's errors.
        catch (Exception $e) {
            throw new QueryException(
                $query, $this->prepareBindings($bindings), $e
            );
        }
 
        return $result;
    }
 
    /**
     * Log a query in the connection's query log.
     *
     * @param  string  $query
     * @param  array   $bindings
     * @param  float|null  $time
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
     * Run a SQL statement and log its execution context.
     *
     * @param  string    $query
     * @param  array     $bindings
     * @param  \Closure  $callback
     * @return mixed
     *
     * @throws \Illuminate\Database\QueryException
     */
    protected function run($query, $bindings, Closure $callback)
    {
        $this->reconnectIfMissingConnection();
 
        $start = microtime(true);
 
        // Here we will run this query. If an exception occurs we'll determine if it was
        // caused by a connection that has been lost. If that is the cause, we'll try
        // to re-establish connection and re-run the query with a fresh connection.
        try {
            $result = $this->runQueryCallback($query, $bindings, $callback);
        } catch (QueryException $e) {
            $result = $this->handleQueryException(
                $e, $query, $bindings, $callback
            );
        }
 
        // Once we have run the query we will calculate the time that it took to run and
        // then log the query, bindings, and execution time so we will report them on
        // the event that the developer needs them. We'll log time in milliseconds.
        $this->logQuery(
            $query, $bindings, $this->getElapsedTime($start)
        );
 
        return $result;
    }
 
    /**
     * Run a SQL statement.
     *
     * @param  string    $query
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
     */
    public function select($query, $bindings = [], $useReadPdo = true)
    {
        return $this->run($query, $bindings, function ($query, $bindings) use ($useReadPdo) {
            if ($this->pretending()) {
                return [];
            }
 
            // For select statements, we'll simply execute the query and return an array
            // of the database result set. Each element in the array will be a single
            // row from the database table, and will either be an array or objects.
            $statement = $this->prepared($this->getPdoForSelect($useReadPdo)
                              ->prepare($query));
 
            $this->bindValues($statement, $this->prepareBindings($bindings));
 
            $statement->execute();
 
            return $statement->fetchAll();
        });
    }
 
    /**
     * Run a select statement against the database and returns a generator.
     *
     * @param  string  $query
     * @param  array  $bindings
     * @param  bool  $useReadPdo
     * @return \Generator
     */
    public function cursor($query, $bindings = [], $useReadPdo = true)
    {
        $statement = $this->run($query, $bindings, function ($query, $bindings) use ($useReadPdo) {
            if ($this->pretending()) {
                return [];
            }
 
            // First we will create a statement for the query. Then, we will set the fetch
            // mode and prepare the bindings for the query. Once that's done we will be
            // ready to execute the query against the database and return the cursor.
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Schema
/
MySqlBuilder.php
<?php
 
namespace Illuminate\Database\Schema;
 
class MySqlBuilder extends Builder
{
    /**
     * Determine if the given table exists.
     *
     * @param  string  $table
     * @return bool
     */
    public function hasTable($table)
    {
        $table = $this->connection->getTablePrefix().$table;
 
        return count($this->connection->select(
            $this->grammar->compileTableExists(), [$this->connection->getDatabaseName(), $table]
        )) > 0;
    }
 
    /**
     * Get the column listing for a given table.
     *
     * @param  string  $table
     * @return array
     */
    public function getColumnListing($table)
    {
        $table = $this->connection->getTablePrefix().$table;
 
        $results = $this->connection->select(
            $this->grammar->compileColumnListing(), [$this->connection->getDatabaseName(), $table]
        );
 
        return $this->connection->getPostProcessor()->processColumnListing($results);
    }
 
    /**
     * Drop all tables from the database.
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Support
/
Facades
/
Facade.php
    }
 
    /**
     * Handle dynamic, static calls to the object.
     *
     * @param  string  $method
     * @param  array   $args
     * @return mixed
     *
     * @throws \RuntimeException
     */
    public static function __callStatic($method, $args)
    {
        $instance = static::getFacadeRoot();
 
        if (! $instance) {
            throw new RuntimeException('A facade root has not been set.');
        }
 
        return $instance->$method(...$args);
    }
}
 
/
home
/
kciti
/
public_html
/
neonapp
/
app
/
Providers
/
AppServiceProvider.php
//                session(['lang-rtl' => true]);
//            } else {
//                session()->forget('lang-rtl');
//            }
//        }
 
        // Force SSL in production
        if ($this->app->environment() == 'production') {
            //URL::forceScheme('https');
        }
 
        // Set the default string length for Laravel5.4
        Schema::defaultStringLength(191);
 
        // Set the default template for Pagination to use the included Bootstrap 4 template
        \Illuminate\Pagination\AbstractPaginator::defaultView('pagination::bootstrap-4');
        \Illuminate\Pagination\AbstractPaginator::defaultSimpleView('pagination::simple-bootstrap-4');
 
 
        if (Schema::hasTable('configs')) {
            foreach (Config::all() as $setting) {
                \Illuminate\Support\Facades\Config::set($setting->key, $setting->value);
            }
        }
 
        /*
         * setLocale to use Carbon source locales. Enables diffForHumans() localized
         */
 
        Carbon::setLocale(config('app.locale'));
        App::setLocale(config('app.locale'));
        config()->set('invoices.currency', config('app.currency'));
 
 
 
 
        if (Schema::hasTable('sliders')) {
            $slides = Slider::where('status', 1)->orderBy('sequence', 'asc')->get();
            view()->composer('*', function ($view) use ($slides) {
                $view->with('slides', $slides);
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Container
/
BoundMethod.php
class BoundMethod
{
    /**
     * Call the given Closure / class@method and inject its dependencies.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  callable|string  $callback
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     */
    public static function call($container, $callback, array $parameters = [], $defaultMethod = null)
    {
        if (static::isCallableWithAtSign($callback) || $defaultMethod) {
            return static::callClass($container, $callback, $parameters, $defaultMethod);
        }
 
        return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
            return call_user_func_array(
                $callback, static::getMethodDependencies($container, $callback, $parameters)
            );
        });
    }
 
    /**
     * Call a string reference to a class using Class@method syntax.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  string  $target
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     *
     * @throws \InvalidArgumentException
     */
    protected static function callClass($container, $target, array $parameters = [], $defaultMethod = null)
    {
        $segments = explode('@', $target);
 
        // We will assume an @ sign is used to delimit the class name from the method
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Container
/
BoundMethod.php
class BoundMethod
{
    /**
     * Call the given Closure / class@method and inject its dependencies.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  callable|string  $callback
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     */
    public static function call($container, $callback, array $parameters = [], $defaultMethod = null)
    {
        if (static::isCallableWithAtSign($callback) || $defaultMethod) {
            return static::callClass($container, $callback, $parameters, $defaultMethod);
        }
 
        return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
            return call_user_func_array(
                $callback, static::getMethodDependencies($container, $callback, $parameters)
            );
        });
    }
 
    /**
     * Call a string reference to a class using Class@method syntax.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  string  $target
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     *
     * @throws \InvalidArgumentException
     */
    protected static function callClass($container, $target, array $parameters = [], $defaultMethod = null)
    {
        $segments = explode('@', $target);
 
        // We will assume an @ sign is used to delimit the class name from the method
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Container
/
BoundMethod.php
     * @param  callable  $callback
     * @param  mixed  $default
     * @return mixed
     */
    protected static function callBoundMethod($container, $callback, $default)
    {
        if (! is_array($callback)) {
            return $default instanceof Closure ? $default() : $default;
        }
 
        // Here we need to turn the array callable into a Class@method string we can use to
        // examine the container and see if there are any method bindings for this given
        // method. If there are, we can call this method binding callback immediately.
        $method = static::normalizeMethod($callback);
 
        if ($container->hasMethodBinding($method)) {
            return $container->callMethodBinding($method, $callback[0]);
        }
 
        return $default instanceof Closure ? $default() : $default;
    }
 
    /**
     * Normalize the given callback into a Class@method string.
     *
     * @param  callable  $callback
     * @return string
     */
    protected static function normalizeMethod($callback)
    {
        $class = is_string($callback[0]) ? $callback[0] : get_class($callback[0]);
 
        return "{$class}@{$callback[1]}";
    }
 
    /**
     * Get all dependencies for a given method.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  callable|string  $callback
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Container
/
BoundMethod.php
    /**
     * Call the given Closure / class@method and inject its dependencies.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  callable|string  $callback
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     */
    public static function call($container, $callback, array $parameters = [], $defaultMethod = null)
    {
        if (static::isCallableWithAtSign($callback) || $defaultMethod) {
            return static::callClass($container, $callback, $parameters, $defaultMethod);
        }
 
        return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
            return call_user_func_array(
                $callback, static::getMethodDependencies($container, $callback, $parameters)
            );
        });
    }
 
    /**
     * Call a string reference to a class using Class@method syntax.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  string  $target
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     *
     * @throws \InvalidArgumentException
     */
    protected static function callClass($container, $target, array $parameters = [], $defaultMethod = null)
    {
        $segments = explode('@', $target);
 
        // We will assume an @ sign is used to delimit the class name from the method
        // name. We will split on this @ sign and then build a callable array that
        // we can pass right back into the "call" method for dependency binding.
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Container
/
Container.php
     * @return \Closure
     */
    public function wrap(Closure $callback, array $parameters = [])
    {
        return function () use ($callback, $parameters) {
            return $this->call($callback, $parameters);
        };
    }
 
    /**
     * Call the given Closure / class@method and inject its dependencies.
     *
     * @param  callable|string  $callback
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     */
    public function call($callback, array $parameters = [], $defaultMethod = null)
    {
        return BoundMethod::call($this, $callback, $parameters, $defaultMethod);
    }
 
    /**
     * Get a closure to resolve the given type from the container.
     *
     * @param  string  $abstract
     * @return \Closure
     */
    public function factory($abstract)
    {
        return function () use ($abstract) {
            return $this->make($abstract);
        };
    }
 
    /**
     * An alias function name for make().
     *
     * @param  string  $abstract
     * @param  array  $parameters
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
 
        array_walk($this->serviceProviders, function ($p) {
            $this->bootProvider($p);
        });
 
        $this->booted = true;
 
        $this->fireAppCallbacks($this->bootedCallbacks);
    }
 
    /**
     * Boot the given service provider.
     *
     * @param  \Illuminate\Support\ServiceProvider  $provider
     * @return mixed
     */
    protected function bootProvider(ServiceProvider $provider)
    {
        if (method_exists($provider, 'boot')) {
            return $this->call([$provider, 'boot']);
        }
    }
 
    /**
     * Register a new boot listener.
     *
     * @param  callable  $callback
     * @return void
     */
    public function booting($callback)
    {
        $this->bootingCallbacks[] = $callback;
    }
 
    /**
     * Register a new "booted" listener.
     *
     * @param  callable  $callback
     * @return void
     */
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
    }
 
    /**
     * Boot the application's service providers.
     *
     * @return void
     */
    public function boot()
    {
        if ($this->booted) {
            return;
        }
 
        // Once the application has booted we will also fire some "booted" callbacks
        // for any listeners that need to do work after this initial booting gets
        // finished. This is useful when ordering the boot-up processes we run.
        $this->fireAppCallbacks($this->bootingCallbacks);
 
        array_walk($this->serviceProviders, function ($p) {
            $this->bootProvider($p);
        });
 
        $this->booted = true;
 
        $this->fireAppCallbacks($this->bootedCallbacks);
    }
 
    /**
     * Boot the given service provider.
     *
     * @param  \Illuminate\Support\ServiceProvider  $provider
     * @return mixed
     */
    protected function bootProvider(ServiceProvider $provider)
    {
        if (method_exists($provider, 'boot')) {
            return $this->call([$provider, 'boot']);
        }
    }
 
[internal]
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
 
    /**
     * Boot the application's service providers.
     *
     * @return void
     */
    public function boot()
    {
        if ($this->booted) {
            return;
        }
 
        // Once the application has booted we will also fire some "booted" callbacks
        // for any listeners that need to do work after this initial booting gets
        // finished. This is useful when ordering the boot-up processes we run.
        $this->fireAppCallbacks($this->bootingCallbacks);
 
        array_walk($this->serviceProviders, function ($p) {
            $this->bootProvider($p);
        });
 
        $this->booted = true;
 
        $this->fireAppCallbacks($this->bootedCallbacks);
    }
 
    /**
     * Boot the given service provider.
     *
     * @param  \Illuminate\Support\ServiceProvider  $provider
     * @return mixed
     */
    protected function bootProvider(ServiceProvider $provider)
    {
        if (method_exists($provider, 'boot')) {
            return $this->call([$provider, 'boot']);
        }
    }
 
    /**
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Bootstrap
/
BootProviders.php
<?php
 
namespace Illuminate\Foundation\Bootstrap;
 
use Illuminate\Contracts\Foundation\Application;
 
class BootProviders
{
    /**
     * Bootstrap the given application.
     *
     * @param  \Illuminate\Contracts\Foundation\Application  $app
     * @return void
     */
    public function bootstrap(Application $app)
    {
        $app->boot();
    }
}
 
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
    {
        $this->register(new EventServiceProvider($this));
        $this->register(new LogServiceProvider($this));
        $this->register(new RoutingServiceProvider($this));
    }
 
    /**
     * Run the given array of bootstrap classes.
     *
     * @param  string[]  $bootstrappers
     * @return void
     */
    public function bootstrapWith(array $bootstrappers)
    {
        $this->hasBeenBootstrapped = true;
 
        foreach ($bootstrappers as $bootstrapper) {
            $this['events']->dispatch('bootstrapping: '.$bootstrapper, [$this]);
 
            $this->make($bootstrapper)->bootstrap($this);
 
            $this['events']->dispatch('bootstrapped: '.$bootstrapper, [$this]);
        }
    }
 
    /**
     * Register a callback to run after loading the environment.
     *
     * @param  \Closure  $callback
     * @return void
     */
    public function afterLoadingEnvironment(Closure $callback)
    {
        return $this->afterBootstrapping(
            LoadEnvironmentVariables::class, $callback
        );
    }
 
    /**
     * Register a callback to run before a bootstrapper.
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
 
        Facade::clearResolvedInstance('request');
 
        $this->bootstrap();
 
        return (new Pipeline($this->app))
                    ->send($request)
                    ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
                    ->then($this->dispatchToRouter());
    }
 
    /**
     * Bootstrap the application for HTTP requests.
     *
     * @return void
     */
    public function bootstrap()
    {
        if (! $this->app->hasBeenBootstrapped()) {
            $this->app->bootstrapWith($this->bootstrappers());
        }
    }
 
    /**
     * Get the route dispatcher callback.
     *
     * @return \Closure
     */
    protected function dispatchToRouter()
    {
        return function ($request) {
            $this->app->instance('request', $request);
 
            return $this->router->dispatch($request);
        };
    }
 
    /**
     * Call the terminate method on any terminable middleware.
     *
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
        $this->app['events']->dispatch(
            new Events\RequestHandled($request, $response)
        );
 
        return $response;
    }
 
    /**
     * Send the given request through the middleware / router.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    protected function sendRequestThroughRouter($request)
    {
        $this->app->instance('request', $request);
 
        Facade::clearResolvedInstance('request');
 
        $this->bootstrap();
 
        return (new Pipeline($this->app))
                    ->send($request)
                    ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
                    ->then($this->dispatchToRouter());
    }
 
    /**
     * Bootstrap the application for HTTP requests.
     *
     * @return void
     */
    public function bootstrap()
    {
        if (! $this->app->hasBeenBootstrapped()) {
            $this->app->bootstrapWith($this->bootstrappers());
        }
    }
 
    /**
/
home
/
kciti
/
public_html
/
neonapp
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
            $router->middlewareGroup($key, $middleware);
        }
 
        foreach ($this->routeMiddleware as $key => $middleware) {
            $router->aliasMiddleware($key, $middleware);
        }
    }
 
    /**
     * Handle an incoming HTTP request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    public function handle($request)
    {
        try {
            $request->enableHttpMethodParameterOverride();
 
            $response = $this->sendRequestThroughRouter($request);
        } catch (Exception $e) {
            $this->reportException($e);
 
            $response = $this->renderException($request, $e);
        } catch (Throwable $e) {
            $this->reportException($e = new FatalThrowableError($e));
 
            $response = $this->renderException($request, $e);
        }
 
        $this->app['events']->dispatch(
            new Events\RequestHandled($request, $response)
        );
 
        return $response;
    }
 
    /**
     * Send the given request through the middleware / router.
     *
/
home
/
kciti
/
public_html
/
elearning
/
index.php
*/
 
$app = require_once __DIR__.'/../neonapp/bootstrap/app.php';
 
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
 
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
 
$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
);
 
$response->send();
 
$kernel->terminate($request, $response);
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
REDIRECT_SCRIPT_URL
"/elearning/password/reset"
REDIRECT_SCRIPT_URI
"http://kciti.edu/elearning/password/reset"
REDIRECT_STATUS
"200"
SCRIPT_URL
"/elearning/password/reset"
SCRIPT_URI
"http://kciti.edu/elearning/password/reset"
HTTP_ACCEPT
"*/*"
HTTP_USER_AGENT
"claudebot"
HTTP_HOST
"kciti.edu"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
SERVER_SIGNATURE
"<address>Apache/2.4.41 (Ubuntu) Server at kciti.edu Port 80</address>\n"
SERVER_SOFTWARE
"Apache/2.4.41 (Ubuntu)"
SERVER_NAME
"kciti.edu"
SERVER_ADDR
"184.105.212.68"
SERVER_PORT
"80"
REMOTE_ADDR
"3.236.139.73"
DOCUMENT_ROOT
"/home/kciti/public_html"
REQUEST_SCHEME
"http"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/home/kciti/public_html"
SERVER_ADMIN
"support@kciti.edu"
SCRIPT_FILENAME
"/home/kciti/public_html/elearning/index.php"
REMOTE_PORT
"40412"
REDIRECT_URL
"/elearning/password/reset"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/elearning/password/reset"
SCRIPT_NAME
"/elearning/index.php"
PHP_SELF
"/elearning/index.php"
REQUEST_TIME_FLOAT
1711650615.2863
REQUEST_TIME
1711650615
APP_NAME
"KICTI College Elearning"
APP_ENV
"local"
APP_KEY
"***************************************************"
APP_DEBUG
"true"
DEBUGBAR_ENABLED
"false"
APP_URL
"http://kciti.edu/elearning/"
APP_LOCALE
"en"
APP_FALLBACK_LOCALE
"en"
APP_LOCALE_PHP
"en_US"
APP_TIMEZONE
"UTC"
LOG_CHANNEL
"daily"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"kciti"
DB_USERNAME
"kciti"
DB_PASSWORD
"********"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
SESSION_ENCRYPT
"false"
QUEUE_CONNECTION
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"****"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.mailtrap.io"
MAIL_PORT
"2525"
MAIL_USERNAME
"****"
MAIL_PASSWORD
"****"
MAIL_ENCRYPTION
"null"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
ENABLE_REGISTRATION
"true"
CHANGE_EMAIL
"false"
PASSWORD_HISTORY
"3"
PASSWORD_EXPIRES_DAYS
""
REQUIRES_APPROVAL
"false"
CONFIRM_EMAIL
"true"
REGISTRATION_CAPTCHA_STATUS
"false"
NOCAPTCHA_SITEKEY
""
NOCAPTCHA_SECRET
""
FACEBOOK_ACTIVE
"false"
FACEBOOK_REDIRECT
"http://kciti.edu/elearning//login/facebook/callback"
BITBUCKET_ACTIVE
"false"
BITBUCKET_REDIRECT
"http://kciti.edu/elearning//login/bitbucket/callback"
GITHUB_ACTIVE
"false"
GITHUB_REDIRECT
"http://kciti.edu/elearning//login/github/callback"
GOOGLE_ACTIVE
"false"
GOOGLE_REDIRECT
"http://kciti.edu/elearning//login/google/callback"
LINKEDIN_ACTIVE
"false"
LINKEDIN_REDIRECT
"http://kciti.edu/elearning//login/linkedin/callback"
TWITTER_ACTIVE
"false"
TWITTER_REDIRECT
"http://kciti.edu/elearning//login/twitter/callback"
STRIPE_KEY
""
STRIPE_SECRET
""
PAYPAL_CLIENT_ID
""
PAYPAL_SECRET
""
PAYPAL_MODE
""
MAILCHIMP_API_KEY
""
Key Value
APP_NAME
"KICTI College Elearning"
APP_ENV
"local"
APP_KEY
"***************************************************"
APP_DEBUG
"true"
DEBUGBAR_ENABLED
"false"
APP_URL
"http://kciti.edu/elearning/"
APP_LOCALE
"en"
APP_FALLBACK_LOCALE
"en"
APP_LOCALE_PHP
"en_US"
APP_TIMEZONE
"UTC"
LOG_CHANNEL
"daily"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"kciti"
DB_USERNAME
"kciti"
DB_PASSWORD
"********"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
SESSION_ENCRYPT
"false"
QUEUE_CONNECTION
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"****"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.mailtrap.io"
MAIL_PORT
"2525"
MAIL_USERNAME
"****"
MAIL_PASSWORD
"****"
MAIL_ENCRYPTION
"null"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
ENABLE_REGISTRATION
"true"
CHANGE_EMAIL
"false"
PASSWORD_HISTORY
"3"
PASSWORD_EXPIRES_DAYS
""
REQUIRES_APPROVAL
"false"
CONFIRM_EMAIL
"true"
REGISTRATION_CAPTCHA_STATUS
"false"
NOCAPTCHA_SITEKEY
""
NOCAPTCHA_SECRET
""
FACEBOOK_ACTIVE
"false"
FACEBOOK_REDIRECT
"http://kciti.edu/elearning//login/facebook/callback"
BITBUCKET_ACTIVE
"false"
BITBUCKET_REDIRECT
"http://kciti.edu/elearning//login/bitbucket/callback"
GITHUB_ACTIVE
"false"
GITHUB_REDIRECT
"http://kciti.edu/elearning//login/github/callback"
GOOGLE_ACTIVE
"false"
GOOGLE_REDIRECT
"http://kciti.edu/elearning//login/google/callback"
LINKEDIN_ACTIVE
"false"
LINKEDIN_REDIRECT
"http://kciti.edu/elearning//login/linkedin/callback"
TWITTER_ACTIVE
"false"
TWITTER_REDIRECT
"http://kciti.edu/elearning//login/twitter/callback"
STRIPE_KEY
""
STRIPE_SECRET
""
PAYPAL_CLIENT_ID
""
PAYPAL_SECRET
""
PAYPAL_MODE
""
MAILCHIMP_API_KEY
""
0. Whoops\Handler\PrettyPageHandler