Ignore:
Timestamp:
Jun 26, 2009, 11:52:25 AM (15 years ago)
Author:
Criss
Message:

Display edit block on picture page if request comes from this page
Add simple administration configuration management
Add and remove default configuration from databaseon plugin install / uninstall

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/CommentEditor/include/ce_functions.inc.php

    r3435 r3462  
    11<?php
    2 /* $Id: ce_functions.inc.php,v 1.3 2009/06/17 19:08:23 Criss Exp $ */
     2/* $Id: ce_functions.inc.php,v 1.6 2009/06/26 08:56:32 Criss Exp $ */
    33if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
    44
     
    99 */
    1010function ce_require_class($aClassName) {
    11     require_once CE_CLASSES .strtolower($aClassName) . '.class.php';
     11  require_once CE_CLASSES .strtolower($aClassName) . '.class.php';
    1212}
    1313
     
    7272  {
    7373    if ( empty($comm['author'])) {
    74         $comm['author'] = $user['username'];
     74        $comm['author'] = $user[$conf['user_fields']['username']];
    7575    }
    7676  }
Note: See TracChangeset for help on using the changeset viewer.