!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16. PHP/5.4.16 

uname -a: Linux roko-bkp 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 

uid=48(apache) gid=48(apache) groups=48(apache),1003(webmaster) 

Safe-mode: OFF (not secure)

/usr/share/phpMyAdmin/test/libraries/select_lang/   drwxr-xr-x
Free 9.06 GB of 93.48 GB (9.69%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     locale_gettext_test.php (1.31 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Tests for working locales
 *
 * @package PhpMyAdmin-test
 */

/*
 * Include to test.
 */

require_once 'libraries/select_lang.lib.php';

/**
 * Class for testing correctness of locales.
 *
 * @package PhpMyAdmin-test
 */
class PMA_Languages_Test extends PHPUnit_Framework_TestCase
{
    
/**
     * Test for setting and parsing locales
     *
     * @param string $locale locale name
     *
     * @return void
     *
     * @group large
     * @dataProvider listLocales
     */
    
public function testGettext($locale)
    {
        
/* We should be able to set the language */
        
$this->assertTrue(PMA_langSet($locale));

        
/* Bind locales */
        
_setlocale(LC_MESSAGES$GLOBALS['lang']);
        
_bind_textdomain_codeset('phpmyadmin''UTF-8');
        
_textdomain('phpmyadmin');

        
/* Grab some texts */
        
$this->assertContains('%s'_ngettext('%s table''%s tables'10));
        
$this->assertContains('%s'_ngettext('%s table''%s tables'1));
    }

    
/**
     * Data provider to generate list of available locales.
     *
     * @return array with arrays of available locales
     */
    
public function listLocales()
    {
        
$ret = array();
        foreach (
$GLOBALS['available_languages'] as $key => $val) {
            
$ret[] = array($key);
        }
        return 
$ret;
    }
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0049 ]--