| Server IP : 185.252.147.100 / Your IP : 216.73.217.33 Web Server : nginx/1.27.3 System : Linux mitrofanov.ru 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 User : mitr ( 1000) PHP Version : 8.2.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /www/html/tour.mitrofanov.ru/public/wp-content/plugins/contact-form-block/classes/ |
Upload File : |
<?php
spl_autoload_register(function ( $class ) {
$necessary = true;
$file = null;
if ( strpos( $class, 'Meow_Contact_Form' ) !== false ) {
$file = MCFB_PATH . '/classes/' . str_replace( 'meow_contact_form_', '', strtolower( $class ) ) . '.php';
}
else if ( strpos( $class, 'Meow_Addons_Contact_Form' ) !== false ) {
$file = MCFB_PATH . '/classes/addons/' . str_replace( 'meow_addons_contact_form_', '', strtolower( $class ) ) . '.php';
}
else if ( strpos( $class, 'MeowKit_MCFB_' ) !== false ) {
$file = MCFB_PATH . '/common/' . str_replace( 'meowkit_mcfb_', '', strtolower( $class ) ) . '.php';
}
else if ( strpos( $class, 'MeowPro_Meow_Contact_Form' ) !== false ) {
$necessary = false;
$file = MCFB_PATH . '/premium/' . str_replace( 'meowpro_meow_contact_form_', '', strtolower( $class ) ) . '.php';
}
if ( $file ) {
if ( !$necessary && !file_exists( $file ) ) {
return;
}
require( $file );
}
});
//require_once( MCFB_PATH . '/classes/api.php');
require_once( MCFB_PATH . '/common/helpers.php');
// In admin or Rest API request (REQUEST URI begins with '/wp-json/')
new Meow_Contact_Form_Core();
?>