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

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

CommentEditor plugin creation

  • Property svn:eol-style set to LF
File size: 1.1 KB
Line 
1<?php
2/* $Id: ce_common.inc.php,v 1.3 2009/06/17 19:08:24 Criss Exp $ */
3if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
4
5define('CE_VERSION',       '1.0.a');
6define('CE_INCLUDE_DIR',   'include/');
7define('CE_CLASSES_DIR',   'classes/');
8define('CE_IMAGES_DIR',    'images/');
9define('CE_TEMPLATE_DIR',  'template/');
10define('CE_CLASSES',       CE_PATH.CE_CLASSES_DIR);
11define('CE_INCLUDE',       CE_PATH.CE_INCLUDE_DIR);
12define('CE_TEMPLATE',      CE_PATH.CE_TEMPLATE_DIR);
13define('CE_STYLE',         CE_INCLUDE.'edit.css');
14define('CE_ERRORS',        CE_INCLUDE.'errors.png');
15define('CE_INFOS',         CE_INCLUDE.'infos.png');
16define('CE_TYPE_INFO',     'info');
17define('CE_TYPE_ERROR',    'error');
18define('CE_PAGE',          'page');
19define('CE_PARAMS',        'params');
20define('CE_ID',            'comment_id');
21define('CE_ACTION',        'action');
22define('CE_ACTION_NONE',   'none');
23define('CE_ACTION_EDIT',   'edit_comment');
24define('CE_ACTION_UPDATE', 'update_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.