| Server IP : 146.59.209.152 / Your IP : 216.73.216.25 Web Server : Apache System : Linux webm009.cluster131.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : monpetu ( 144298) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/monpetu/www/ipprint/extensions/bookly-addon-pro/ |
Upload File : |
<?php defined( 'ABSPATH' ) || exit; // Exit if accessed directly
/**
* Bookly Pro add-on autoload.
* @param $class
*/
function bookly_pro_loader( $class )
{
if ( preg_match( '/^BooklyPro\\\\(.+)?([^\\\\]+)$/U', ltrim( $class, '\\' ), $match ) ) {
$file = __DIR__ . DIRECTORY_SEPARATOR
. strtolower( str_replace( '\\', DIRECTORY_SEPARATOR, preg_replace('/([a-z])([A-Z])/', '$1_$2', $match[1] ) ) )
. $match[2]
. '.php';
if ( is_readable( $file ) ) {
require_once $file;
}
}
}
spl_autoload_register( 'bookly_pro_loader' );