Files
oav/dotclear._no/plugins/postCount/_prepend.php
2023-03-20 12:18:38 +01:00

23 lines
680 B
PHP
Executable File

<?php
# -- BEGIN LICENSE BLOCK ----------------------------------
# This file is part of postCount, a plugin for Dotclear 2.
#
# Copyright (c) 2007-2010 Olivier Le Bris
# http://phoenix.cybride.net/
# Contributor: Pierre Van Glabeke
#
# Licensed under the Creative Commons by-nc-sa license.
# See LICENSE file or
# http://creativecommons.org/licenses/by-nc-sa/3.0/deed.fr_CA
# -- END LICENSE BLOCK ------------------------------------
#
# 01-01-2014
if (!defined('DC_RC_PATH')) { return; }
/**
* auto-load working class
*/
global $__autoload, $core;
$GLOBALS['__autoload']['postCount'] = dirname(__FILE__).'/class.postcount.php';
$core->blog->postCount = new postCount($core);