application/controllers/admin/bestitamazonpay4oxid_init.php
public static function clearTmp()
    {
        $sTmpDir = self::_getConfig()->getConfigParam('sCompileDir');
        $sTmpDir = rtrim($sTmpDir, '/').'/';
        $sSmartyDir = $sTmpDir.'smarty/';

        foreach (self::_streamSafeGlob($sTmpDir, '*.txt') as $sFileName) {
            unlink($sFileName);
        }

        foreach (self::_streamSafeGlob($sSmartyDir, '*.php') as $sFileName) {
            unlink($sFileName);
        }
    }
public static function clearTmp()
    {
        $sTmpDir = self::_getConfig()->getConfigParam('sCompileDir');
        $sTmpDir = rtrim($sTmpDir, '/').'/';
        $sSmartyDir = $sTmpDir.'smarty/';

        foreach (self::_streamSafeGlob($sTmpDir, '*.txt') as $sFileName) {
            unlink($sFileName);
        }

        foreach (self::_streamSafeGlob($sSmartyDir, '*.php') as $sFileName) {
            unlink($sFileName);
        }
    }
public static function clearTmp ( ) { $ sTmpDir = self :: _getConfig ( ) -> getConfigParam ( 'sCompileDir' ) ; $ sTmpDir = rtrim ( $ sTmpDir , '/' ) . '/' ; $ sSmartyDir = $ sTmpDir . 'smarty/' ; foreach ( self :: _streamSafeGlob ( $ sTmpDir , '*.txt' ) as $ sFileName ) { unlink ( $ sFileName ) ; } foreach ( self :: _streamSafeGlob ( $ sSmartyDir , '*.php' ) as $ sFileName ) { unlink ( $ sFileName ) ; } }
Clear tmp dir and smarty cache.

@return void
Clear tmp dir and smarty cache .