ACIL FM
Dark
Refresh
Current DIR:
/home/mhhtmff/www/site BKP/wp-content/plugins/wp-mail-smtp/src
/
home
mhhtmff
www
site BKP
wp-content
plugins
wp-mail-smtp
src
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
Admin
-
chmod
Open
Rename
Delete
Compatibility
-
chmod
Open
Rename
Delete
Helpers
-
chmod
Open
Rename
Delete
Providers
-
chmod
Open
Rename
Delete
Reports
-
chmod
Open
Rename
Delete
Tasks
-
chmod
Open
Rename
Delete
UsageTracking
-
chmod
Open
Rename
Delete
AbstractConnection.php
1.09 MB
chmod
View
DL
Edit
Rename
Delete
Conflicts.php
14.42 MB
chmod
View
DL
Edit
Rename
Delete
Connect.php
8.72 MB
chmod
View
DL
Edit
Rename
Delete
Connection.php
964 B
chmod
View
DL
Edit
Rename
Delete
ConnectionInterface.php
1.01 MB
chmod
View
DL
Edit
Rename
Delete
ConnectionsManager.php
765 B
chmod
View
DL
Edit
Rename
Delete
Core.php
31.94 MB
chmod
View
DL
Edit
Rename
Delete
DBRepair.php
6 MB
chmod
View
DL
Edit
Rename
Delete
Debug.php
3.5 MB
chmod
View
DL
Edit
Rename
Delete
Geo.php
5.39 MB
chmod
View
DL
Edit
Rename
Delete
MailCatcher.php
1.36 MB
chmod
View
DL
Edit
Rename
Delete
MailCatcherInterface.php
1.16 MB
chmod
View
DL
Edit
Rename
Delete
MailCatcherTrait.php
9.72 MB
chmod
View
DL
Edit
Rename
Delete
MailCatcherV6.php
1.21 MB
chmod
View
DL
Edit
Rename
Delete
Migration.php
12.11 MB
chmod
View
DL
Edit
Rename
Delete
MigrationAbstract.php
3.21 MB
chmod
View
DL
Edit
Rename
Delete
Options.php
40.14 MB
chmod
View
DL
Edit
Rename
Delete
Processor.php
11.21 MB
chmod
View
DL
Edit
Rename
Delete
SiteHealth.php
12.63 MB
chmod
View
DL
Edit
Rename
Delete
Upgrade.php
1.16 MB
chmod
View
DL
Edit
Rename
Delete
Uploads.php
4.63 MB
chmod
View
DL
Edit
Rename
Delete
WP.php
18.84 MB
chmod
View
DL
Edit
Rename
Delete
WPMailInitiator.php
4.02 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/mhhtmff/www/site BKP/wp-content/plugins/wp-mail-smtp/src/Debug.php
<?php namespace WPMailSMTP; use WPMailSMTP\Admin\DebugEvents\DebugEvents; /** * Class Debug that will save all errors or warnings generated by APIs or SMTP * and display in area for administrators. * * Usage example: * Debug::set( 'Some warning: %s', array( '%s' => $e->getMessage() ); * $debug = Debug::get(); // array * $debug = Debug::get_last(); // string * * @since 1.2.0 */ class Debug { /** * Key for options table where all messages will be saved to. * * @since 1.2.0 */ const OPTION_KEY = 'wp_mail_smtp_debug'; /** * Hold the cached error messages. * * @since 3.0.0 * * @var array */ private static $cached_messages; /** * Save unique debug message to a debug log. * Adds one more to a list, at the end. * * @since 1.2.0 * @since 3.0.0 Start saving the Debug Event IDs, instead of error messages. * @since 3.5.0 Returns Event ID. * * @param mixed $message An array or string error message. * * @return bool|int */ public static function set( $message ) { if ( empty( $message ) ) { return false; } self::clear_cache(); // Log the error message to the Debug Events. $event_id = DebugEvents::add( $message ); $all = self::get_raw(); if ( ! empty( $event_id ) ) { array_push( $all, $event_id ); } else { if ( ! is_string( $message ) ) { $message = wp_json_encode( $message ); } else { $message = wp_strip_all_tags( $message, false ); } array_push( $all, $message ); } update_option( self::OPTION_KEY, array_unique( $all ), false ); return $event_id; } /** * Remove all messages for a debug log. * * @since 1.2.0 */ public static function clear() { self::clear_cache(); update_option( self::OPTION_KEY, [], false ); } /** * Clear cached error messages. * * @since 3.0.0 */ private static function clear_cache() { self::$cached_messages = null; } /** * Get the raw DB debug option values. * * @since 3.0.0 */ private static function get_raw() { $all = get_option( self::OPTION_KEY, [] ); if ( ! is_array( $all ) ) { $all = (array) $all; } return $all; } /** * Retrieve all messages from a debug log. * * @since 1.2.0 * * @return array */ public static function get() { if ( isset( self::$cached_messages ) ) { return self::$cached_messages; } $all = self::get_raw(); if ( empty( $all ) ) { self::$cached_messages = []; return []; } $event_ids = []; $old_messages = []; foreach ( $all as $item ) { if ( is_int( $item ) ) { $event_ids[] = (int) $item; } else { $old_messages[] = $item; } } $event_messages = DebugEvents::get_debug_messages( $event_ids ); self::$cached_messages = array_unique( array_merge( $old_messages, $event_messages ) ); return self::$cached_messages; } /** * Get the last message that was saved to a debug log. * * @since 1.2.0 * * @return string */ public static function get_last() { $all = self::get(); if ( ! empty( $all ) && is_array( $all ) ) { return (string) end( $all ); } return ''; } /** * Get the proper variable content output to debug. * * @since 1.2.0 * * @param mixed $var Variable to output. * * @return string */ public static function pvar( $var = '' ) { ob_start(); echo '<code>'; if ( is_bool( $var ) || empty( $var ) ) { var_dump( $var ); } else { print_r( $var ); } echo '</code>'; $output = ob_get_clean(); return str_replace( array( "\r\n", "\r", "\n" ), '', $output ); } }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply