translater/_prepend.php

26 lines
1 KiB
PHP
Raw Normal View History

2021-08-18 19:42:30 +00:00
<?php
# -- BEGIN LICENSE BLOCK ----------------------------------
#
# This file is part of translater, a plugin for Dotclear 2.
#
2021-08-18 22:48:47 +00:00
# Copyright (c) 2009-2016 Jean-Christian Denis and contributors
2021-08-18 19:42:30 +00:00
#
# Licensed under the GPL version 2.0 license.
# A copy of this license is available in LICENSE file or at
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# -- END LICENSE BLOCK ------------------------------------
2021-08-18 22:48:47 +00:00
if (!defined('DC_RC_PATH')) {
return;
}
2021-08-18 19:42:30 +00:00
global $__autoload;
2021-08-18 22:48:47 +00:00
$__autoload['dcTranslater'] = dirname(__FILE__) . '/inc/class.dc.translater.php';
$__autoload['translaterRest'] = dirname(__FILE__) . '/inc/class.translater.rest.php';
$__autoload['translaterProposals'] = dirname(__FILE__) . '/inc/class.translater.proposals.php';
2021-08-18 19:42:30 +00:00
2021-08-18 22:48:47 +00:00
$__autoload['translaterProposalTool'] = dirname(__FILE__) . '/inc/lib.translater.proposal.php';
$__autoload['googleProposalTool'] = dirname(__FILE__) . '/inc/lib.translater.google.php';
$__autoload['microsoftProposalTool'] = dirname(__FILE__) . '/inc/lib.translater.microsoft.php';