!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/it-man.ztu.edu.ua/src/vendor/swiftmailer/swiftmailer/tests/   drwxr-xr-x
Free 117.06 GB of 200.55 GB (58.37%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/**
 * Base test for smoke tests.
 *
 * @author Rouven Weßling
 */
class SwiftMailerSmokeTestCase extends SwiftMailerTestCase
{
    public function 
setUp()
    {
        if (!
defined('SWIFT_SMOKE_TRANSPORT_TYPE')) {
            
$this->markTestSkipped(
                
'Smoke tests are skipped if tests/smoke.conf.php is not edited'
             
);
        }
    }

    protected function 
_getMailer()
    {
        switch (
SWIFT_SMOKE_TRANSPORT_TYPE) {
            case 
'smtp':
                
$transport Swift_DependencyContainer::getInstance()->lookup('transport.smtp')
                    ->
setHost(SWIFT_SMOKE_SMTP_HOST)
                    ->
setPort(SWIFT_SMOKE_SMTP_PORT)
                    ->
setUsername(SWIFT_SMOKE_SMTP_USER)
                    ->
setPassword(SWIFT_SMOKE_SMTP_PASS)
                    ->
setEncryption(SWIFT_SMOKE_SMTP_ENCRYPTION)
                    ;
                break;
            case 
'sendmail':
                
$transport Swift_DependencyContainer::getInstance()->lookup('transport.sendmail')
                    ->
setCommand(SWIFT_SMOKE_SENDMAIL_COMMAND)
                    ;
                break;
            case 
'mail':
            case 
'nativemail':
                
$transport Swift_DependencyContainer::getInstance()->lookup('transport.mail');
                break;
            default:
                throw new 
Exception('Undefined transport ['.SWIFT_SMOKE_TRANSPORT_TYPE.']');
        }

        return new 
Swift_Mailer($transport);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0131 ]--