source: extensions/CommentEditor/include/ce_common.inc.php @ 3443

Last change on this file since 3443 was 3443, checked in by Criss, 15 years ago

Deactivate anti-flood on update
Adviser can edit only its comments
Language file converted in UTF-8
Add home link in edit and message block title bar

File size: 1.1 KB
Line 
1<?php
2/* $Id: ce_common.inc.php,v 1.8 2009/06/22 22:18:13 Criss Exp $ */
3if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
4
5define('CE_INCLUDE_DIR',   'include/');
6define('CE_CLASSES_DIR',   'classes/');
7define('CE_IMAGES_DIR',    'images/');
8define('CE_TEMPLATE_DIR',  'template/');
9define('CE_CLASSES',       CE_PATH.CE_CLASSES_DIR);
10define('CE_INCLUDE',       CE_PATH.CE_INCLUDE_DIR);
11define('CE_TEMPLATE',      CE_PATH.CE_TEMPLATE_DIR);
12define('CE_STYLE',         CE_INCLUDE.'edit.css');
13define('CE_ERRORS',        CE_INCLUDE.'errors.png');
14define('CE_INFOS',         CE_INCLUDE.'infos.png');
15define('CE_TYPE_INFO',     'info');
16define('CE_TYPE_ERROR',    'error');
17define('CE_PAGE',          'page');
18define('CE_PARAMS',        'params');
19define('CE_ID',            'comment_id');
20define('CE_ACTION',        'comment_action');
21define('CE_ACTION_NONE',   'none');
22define('CE_ACTION_EDIT',   'edit_comment');
23define('CE_ACTION_UPDATE', 'update_comment');
24define('CE_ACTION_ERROR',  'error_comment');
25
26// Include plugin functions
27@include_once(CE_INCLUDE.'ce_functions.inc.php');
28
29// Load class file
30ce_require_class("CE_Plugin");
31
32?>
Note: See TracBrowser for help on using the repository browser.