HEX
Server: LiteSpeed
System: Linux s787.bom1.mysecurecloudhost.com 4.18.0-477.13.1.lve.el8.x86_64 #1 SMP Thu Jun 1 16:40:47 EDT 2023 x86_64
User: mobilech (5348)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/mobilech/nepalapplesupport.com/shop/app/Providers/ThemeServiceProvider.php
<?php

namespace App\Providers;

use Illuminate\Support\ServiceProvider;

class ThemeServiceProvider extends ServiceProvider
{
    /**
     * Register services.
     *
     * @return void
     */
    public function register()
    {
        $theme = env('WEB_THEME') == null ? 'default' : env('WEB_THEME');
        $path = base_path('resources/themes/' . $theme);
        if (!defined('VIEW_FILE_NAMES')) {
            define("VIEW_FILE_NAMES", include($path . '/file_names.php'));
        }
        view()->addLocation($path);
    }

    /**
     * Bootstrap services.
     *
     * @return void
     */
    public function boot()
    {

    }
}