Ignore:
Timestamp:
Mar 27, 2011, 10:09:33 AM (14 years ago)
Author:
patdenice
Message:

Test db insertion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/FCKEditor/maintain.inc.php

    r4629 r9891  
    33function plugin_activate()
    44{
    5   global $prefixeTable;
     5  global $conf, $prefixeTable;
    66
    7   $query = '
     7  if (!isset($conf['FCKEditor']))
     8  {
     9    $query = '
    810INSERT INTO ' . CONFIG_TABLE . ' (param,value,comment)
    911VALUES ("FCKEditor" , "'.addslashes(serialize(array())).'" , "FCKEditor areas");';
    1012
    11   pwg_query($query);
     13    pwg_query($query);
     14  }
    1215}
    1316
Note: See TracChangeset for help on using the changeset viewer.