| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/KnowledgeBase/wp-content/plugins/smtp2go/app/ |
Upload File : |
<?php
namespace SMTP2GO\App;
/**
* Fired during plugin activation
*
* @link https://www.smtp2go.com
* @since 1.0.1
*
* @package SMTP2GO\WordpressPlugin
* @subpackage SMTP2GO\WordpressPlugin/includes
*/
/**
* Fired during plugin activation.
*
* This class defines all code necessary to run during the plugin's activation.
*
* @since 1.0.1
* @package SMTP2GO\WordpressPlugin
* @subpackage SMTP2GO\WordpressPlugin/includes
* @author SMTP2GO <ticket@smtp2go.com>
*/
class WordpressPluginActivator
{
/**
* Short Description. (use period)
*
* Long Description.
*
* @since 1.0.1
*/
public static function activate()
{
// Create the API logs table
require_once plugin_dir_path(__FILE__) . 'migrations/CreateApiLogsTable.php';
\SMTP2GO\App\Migrations\CreateApiLogsTable::run();
}
}