Files
CRM/modules/Mobile/third-party/qCal/autoload.php
BACHIR SOULDI 2794e62571 first commit
2025-09-28 08:49:37 +01:00

19 lines
457 B
PHP

<?php
/**
* Include this file if you want to use the __autoload feature rather than including
* all of the files manually. It will automatically register its autoload function
* with spl's autoload mechanism.
*/
require_once 'qCal/Loader.php';
function qCal_Autoloader($name) {
// Try to load only concerned class...
if (strpos($name, 'qCal') === 0) {
qCal_Loader::loadClass($name);
}
}
spl_autoload_register("qCal_Autoloader");