/** * @return void */ protected static function initDataPath() { $dataPath = 'data'; if (!defined('AP_DATA_FOLDER') && @file_exists(self::GetWebMailPath() . 'inc_settings_path.php')) { include self::GetWebMailPath() . 'inc_settings_path.php'; } if (!defined('AP_DATA_FOLDER') && null !== $dataPath) { define('AP_DATA_FOLDER', ap_Utils::GetFullPath($dataPath, self::GetWebMailPath())); } }