/home/u355715572/domains/musicplane.com/public_html/vendor/composer/ClassLoader.php
if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
return $file;
}
return false;
}
}
/**
* Scope isolated include.
*
* Prevents access to $this/self from included files.
*
* @param string $file
* @return void
* @private
*/
function includeFile($file)
{
include $file;
}
Arguments
"include(/home/u355715572/domains/musicplane.com/public_html/vendor/composer/../torann/laravel-meta-tags/src/Torann/LaravelMetaTags/MetaTagsServiceProvider.php): Failed to open stream: No such file or directory"
/home/u355715572/domains/musicplane.com/public_html/vendor/composer/ClassLoader.php
if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
return $file;
}
return false;
}
}
/**
* Scope isolated include.
*
* Prevents access to $this/self from included files.
*
* @param string $file
* @return void
* @private
*/
function includeFile($file)
{
include $file;
}
/home/u355715572/domains/musicplane.com/public_html/vendor/composer/ClassLoader.php
*/
public function unregister()
{
spl_autoload_unregister(array($this, 'loadClass'));
if (null !== $this->vendorDir) {
unset(self::$registeredLoaders[$this->vendorDir]);
}
}
/**
* Loads the given class or interface.
*
* @param string $class The name of the class
* @return true|null True if loaded, null otherwise
*/
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
includeFile($file);
return true;
}
return null;
}
/**
* Finds the path to the file where the class is defined.
*
* @param string $class The name of the class
*
* @return string|false The path if found, false otherwise
*/
public function findFile($class)
{
// class map lookup
if (isset($this->classMap[$class])) {
return $this->classMap[$class];
}
/home/u355715572/domains/musicplane.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php
if (! is_writable($dirname = dirname($this->manifestPath))) {
throw new Exception("The {$dirname} directory must be present and writable.");
}
$this->files->replace(
$this->manifestPath, '<?php return '.var_export($manifest, true).';'
);
return array_merge(['when' => []], $manifest);
}
/**
* Create a new provider instance.
*
* @param string $provider
* @return \Illuminate\Support\ServiceProvider
*/
public function createProvider($provider)
{
return new $provider($this->app);
}
}
/home/u355715572/domains/musicplane.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php
$this->app->make('events')->listen($events, function () use ($provider) {
$this->app->register($provider);
});
}
/**
* Compile the application service manifest file.
*
* @param array $providers
* @return array
*/
protected function compileManifest($providers)
{
// The service manifest should contain a list of all of the providers for
// the application so we can compare it on each request to the service
// and determine if the manifest should be recompiled or is current.
$manifest = $this->freshManifest($providers);
foreach ($providers as $provider) {
$instance = $this->createProvider($provider);
// When recompiling the service manifest, we will spin through each of the
// providers and check if it's a deferred provider or not. If so we'll
// add it's provided services to the manifest and note the provider.
if ($instance->isDeferred()) {
foreach ($instance->provides() as $service) {
$manifest['deferred'][$service] = $provider;
}
$manifest['when'][$provider] = $instance->when();
}
// If the service providers are not deferred, we will simply add it to an
// array of eagerly loaded providers that will get registered on every
// request to this application instead of "lazy" loading every time.
else {
$manifest['eager'][] = $provider;
}
}
/home/u355715572/domains/musicplane.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php
$this->app = $app;
$this->files = $files;
$this->manifestPath = $manifestPath;
}
/**
* Register the application service providers.
*
* @param array $providers
* @return void
*/
public function load(array $providers)
{
$manifest = $this->loadManifest();
// First we will load the service manifest, which contains information on all
// service providers registered with the application and which services it
// provides. This is used to know which services are "deferred" loaders.
if ($this->shouldRecompile($manifest, $providers)) {
$manifest = $this->compileManifest($providers);
}
// Next, we will register events to load the providers for each of the events
// that it has requested. This allows the service provider to defer itself
// while still getting automatically loaded when a certain event occurs.
foreach ($manifest['when'] as $provider => $events) {
$this->registerLoadEvents($provider, $events);
}
// We will go ahead and register all of the eagerly loaded providers with the
// application so their services can be registered with the application as
// a provided service. Then we will set the deferred service list on it.
foreach ($manifest['eager'] as $provider) {
$this->app->register($provider);
}
$this->app->addDeferredServices($manifest['deferred']);
}
/**
/home/u355715572/domains/musicplane.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
{
return $this['env'] === 'testing';
}
/**
* Register all of the configured providers.
*
* @return void
*/
public function registerConfiguredProviders()
{
$providers = Collection::make($this->config['app.providers'])
->partition(function ($provider) {
return strpos($provider, 'Illuminate\\') === 0;
});
$providers->splice(1, 0, [$this->make(PackageManifest::class)->providers()]);
(new ProviderRepository($this, new Filesystem, $this->getCachedServicesPath()))
->load($providers->collapse()->toArray());
}
/**
* Register a service provider with the application.
*
* @param \Illuminate\Support\ServiceProvider|string $provider
* @param bool $force
* @return \Illuminate\Support\ServiceProvider
*/
public function register($provider, $force = false)
{
if (($registered = $this->getProvider($provider)) && ! $force) {
return $registered;
}
// If the given "provider" is a string, we will resolve it, passing in the
// application instance automatically for the developer. This is simply
// a more convenient way of specifying your service provider classes.
if (is_string($provider)) {
$provider = $this->resolveProvider($provider);
/home/u355715572/domains/musicplane.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php
<?php
namespace Illuminate\Foundation\Bootstrap;
use Illuminate\Contracts\Foundation\Application;
class RegisterProviders
{
/**
* Bootstrap the given application.
*
* @param \Illuminate\Contracts\Foundation\Application $app
* @return void
*/
public function bootstrap(Application $app)
{
$app->registerConfiguredProviders();
}
}
/home/u355715572/domains/musicplane.com/public_html/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/u355715572/domains/musicplane.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php
* Get the output for the last run command.
*
* @return string
*/
public function output()
{
$this->bootstrap();
return $this->getArtisan()->output();
}
/**
* Bootstrap the application for artisan commands.
*
* @return void
*/
public function bootstrap()
{
if (! $this->app->hasBeenBootstrapped()) {
$this->app->bootstrapWith($this->bootstrappers());
}
$this->app->loadDeferredProviders();
if (! $this->commandsLoaded) {
$this->commands();
$this->commandsLoaded = true;
}
}
/**
* Get the Artisan application instance.
*
* @return \Illuminate\Console\Application
*/
protected function getArtisan()
{
if (is_null($this->artisan)) {
return $this->artisan = (new Artisan($this->app, $this->events, $this->app->version()))
/home/u355715572/domains/musicplane.com/public_html/install.php
private function putAppInProductionEnv($siteUrl)
{
$content = file_get_contents($this->basePath.'/.env.example');
$content = preg_replace("/(.*?INSTALLED=).*?(.+?)\\n/msi", '${1}1' . "\n", $content);
$content = preg_replace("/(.*?APP_ENV=).*?(.+?)\\n/msi", '${1}production' . "\n", $content);
$content = preg_replace("/(.*?APP_DEBUG=).*?(.+?)\\n/msi", '${1}false' . "\n", $content);
$url = isset($siteUrl) ? $siteUrl : url('');
$content = preg_replace("/(.*APP_URL=).*?(.+?)\\n/msi", '${1}' . rtrim($url, '/') . "\n", $content);
file_put_contents($this->basePath.'/.env.example', $content);
}
public function bootFramework()
{
if ( ! $this->bootStrapped) {
require $this->basePath . '/vendor/autoload.php';
$app = require_once $this->basePath . '/bootstrap/app.php';
$kernel = $app->make('Illuminate\Contracts\Console\Kernel');
$kernel->bootstrap();
$this->bootStrapped = true;
}
}
public function finalizeInstallation($siteUrl)
{
$this->bootFramework();
$this->putAppInProductionEnv($siteUrl);
copy($this->basePath.'/.env.example', $this->basePath.'/.env');
Artisan::call('storage:link');
Cache::flush();
config(['app.url' => $siteUrl]);
Artisan::call('laroute:generate');
$view = view('backend.install.completed')->with('siteUrl', $siteUrl);
echo $view;
/home/u355715572/domains/musicplane.com/public_html/install.php
copy($this->basePath.'/.env.example', $this->basePath.'/.env');
Artisan::call('storage:link');
Cache::flush();
config(['app.url' => $siteUrl]);
Artisan::call('laroute:generate');
$view = view('backend.install.completed')->with('siteUrl', $siteUrl);
echo $view;
die();
}
}
if (version_compare(PHP_VERSION, '7.4', '<')) exit('You need at least PHP 7.4 to install this application.');
@set_time_limit(3600);
ini_set('pcre.recursion_limit', '524');
$installer = new Installer();
$installer->bootFramework();
function checkIfAlreadyMigrated(){
$installer = new Installer();
try {
$installer->prepareDatabaseForMigration();
try {
DB::connection()->getPdo();
if(Schema::hasTable('users')){
$user = DB::table('users')->get();
$request = Illuminate\Http\Request::capture();
if(isset($user[0])){
header('Location: ' . $request->getSchemeAndHttpHost() . '?step=finalize');
} else {
header('Location: ' . $request->getSchemeAndHttpHost() . '?step=admin');
}
/home/u355715572/domains/musicplane.com/public_html/public/index.php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylor@laravel.com>
*/
header('Access-Control-Allow-Headers: authorization,content-type,crossdomain');
header('Access-Control-Allow-Methods: GET, POST, PUT, PATCH, DELETE, OPTIONS');
header('Access-Control-Allow-Origin: *');
if (version_compare(PHP_VERSION, '7.4', '<')) exit('You need at least PHP 7.4 to use this application.');
if ( ! file_exists(__DIR__ . '/../.env') && file_exists('../install.php')) {
if(! class_exists("PDO")) {
exit('You need php PDO extension to get install this script.');
}
require_once '../install.php';
exit;
}
define('LARAVEL_START', microtime(true));
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader for
| our application. We just need to utilize it! We'll simply require it
| into the script here so that we don't have to worry about manual
| loading any of our classes later on. It feels great to relax.
|
*/
require __DIR__.'/../vendor/autoload.php';
Arguments
"/home/u355715572/domains/musicplane.com/public_html/install.php"