| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/nice/administrator/components/com_comprofiler/ |
Upload File : |
<?php
/**
* Community Builder (TM)
* @version $Id: $
* @package CommunityBuilder
* @copyright (C) 2004-2025 www.joomlapolis.com / Lightning MultiCom SA - and its licensors, all rights reserved
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU/GPL version 2
*/
use CB\Application\CBApplication;
// below autoload CB\Legacy\LegacyFoundationFunctions;
use CBLib\Core\AutoLoader;
use Joomla\CMS\Factory;
// ensure this file is being included by a parent file
if ( ! ( defined( '_VALID_CB' ) || defined( '_JEXEC' ) || defined( '_VALID_MOS' ) ) ) { die( 'Direct Access to this location is not allowed.' ); }
// Check that CBLib with CB Lib is installed:
if ( ! is_readable( JPATH_SITE . '/libraries/CBLib/CB/Application/CBApplication.php' ) )
{
Factory::getApplication()->enqueueMessage( "Mandatory Community Builder lib_CBLib not installed!", 'error');
return false;
}
// Loads the first file:
/** @noinspection PhpIncludeInspection */
include_once JPATH_SITE . '/libraries/CBLib/CB/Application/CBApplication.php';
// Initialize CB Application and Auto-load and initialize everything that was in here:
CBApplication::init( Factory::getApplication()->getName() == 'ConsoleApplication' ? 'Cli' : 'Web', Factory::getApplication()->getName() )
->getDI()->get( '\CB\Legacy\LegacyFoundationFunctions' );
// Add the plugins library autoloading path:
AutoLoader::registerLibrary( JPATH_SITE . '/components/com_comprofiler/plugin/libraries/' );
/**
* The classes that were in here have moved to libraries/CBLib/CB/Legacy folder.
* The functions in here have moved to libraries/CBLib/CB/Legacy/LegacyFoundationFunctions.php
*/