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

Software: Apache. PHP/5.6.40-67+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux hosting1.erectacloud.it 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC
2024 x86_64
 

uid=5229(web473) gid=5117(client172) groups=5117(client172),5002(sshusers) 

Safe-mode: OFF (not secure)

/var/www/clients/client172/web473/web/aps/xcrud/mailer/test/   drwxr-xr-x
Free 182.16 GB of 490.84 GB (37.11%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     phpmailerLangTest.php (2.29 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * PHPMailer - language file tests
 * Requires PHPUnit 3.3 or later.
 *
 * PHP version 5.0.0
 *
 * @package PHPMailer
 * @author Andy Prevost
 * @author Marcus Bointon <phpmailer@synchromedia.co.uk>
 * @copyright 2004 - 2009 Andy Prevost
 * @copyright 2010 Marcus Bointon
 * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
 */

require_once '../PHPMailerAutoload.php';

/**
 * PHPMailer - PHP email transport unit test class
 * Performs authentication tests
 */
class PHPMailerLangTest extends PHPUnit_Framework_TestCase
{
    
/**
     * Holds a phpmailer instance.
     * @private
     * @var PHPMailer
     */
    
public $Mail;

    
/**
     * @var string Default include path
     */
    
public $INCLUDE_DIR '../';

    
/**
     * Run before each test is started.
     */
    
public function setUp()
    {
        
$this->Mail = new PHPMailer;
    }

    
/**
     * Test language files for missing and excess translations
     * All languages are compared with English
     * @group languages
     */
    
public function testTranslations()
    {
        
$this->Mail->setLanguage('en');
        
$definedStrings $this->Mail->getTranslations();
        
$err '';
        foreach (new 
DirectoryIterator('../language') as $fileInfo) {
            if (
$fileInfo->isDot()) {
                continue;
            }
            
$matches = array();
            
//Only look at language files, ignore anything else in there
            
if (preg_match('/^phpmailer\.lang-([a-z_]{2,})\.php$/'$fileInfo->getFilename(), $matches)) {
                
$lang $matches[1]; //Extract language code
                
$PHPMAILER_LANG = array(); //Language strings get put in here
                
include $fileInfo->getPathname(); //Get language strings
                
$missing array_diff(array_keys($definedStrings), array_keys($PHPMAILER_LANG));
                
$extra array_diff(array_keys($PHPMAILER_LANG), array_keys($definedStrings));
                if (!empty(
$missing)) {
                    
$err .= "\nMissing translations in $lang: " implode(', '$missing);
                }
                if (!empty(
$extra)) {
                    
$err .= "\nExtra translations in $lang: " implode(', '$extra);
                }
            }
        }
        
$this->assertEmpty($err$err);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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