2021-08-16 20:36:26 +00:00
|
|
|
<?php
|
|
|
|
# -- BEGIN LICENSE BLOCK ----------------------------------
|
2021-08-19 21:33:19 +00:00
|
|
|
#
|
2021-08-16 20:36:26 +00:00
|
|
|
# This file is part of simplyFavicon, a plugin for Dotclear 2.
|
|
|
|
#
|
2021-08-19 21:33:19 +00:00
|
|
|
# Copyright (c) 2009-2021 Jean-Christian Denis and contributors
|
2021-08-16 20:36:26 +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
|
2021-08-19 21:33:19 +00:00
|
|
|
#
|
2021-08-16 20:36:26 +00:00
|
|
|
# -- END LICENSE BLOCK ------------------------------------
|
|
|
|
|
2021-08-16 21:44:38 +00:00
|
|
|
if (!defined('DC_RC_PATH')){
|
2021-08-19 21:33:19 +00:00
|
|
|
return;
|
2021-08-16 21:44:38 +00:00
|
|
|
}
|
2021-08-16 20:36:26 +00:00
|
|
|
|
2021-08-16 21:44:38 +00:00
|
|
|
$__autoload['publicSimplyFavicon'] = dirname(__FILE__) . '/_public.php';
|
2021-08-16 20:36:26 +00:00
|
|
|
|
2021-08-19 21:33:19 +00:00
|
|
|
$core->url->register('simplyFavicon', 'favicon', '^favicon.(.*?)$', ['publicSimplyFavicon', 'simplyFaviconUrl']);
|