Ignore:
Timestamp:
Dec 14, 2006, 1:58:57 AM (17 years ago)
Author:
rvelices
Message:
  • plugins admin menu appear now in the admin page menubar
  • plugins are loaded immediately after loading the config (allow

them to hack more of pwg like user init, template init etc...)

  • trigger event format_exif_data (for picture display only)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/event_tracer/tracer_admin.php

    r1580 r1655  
    1010  $v = str_replace( "\r\n", "\n", $v );
    1111  $v = str_replace( "\n\n", "\n", $v );
    12   $this->my_config['filters'] = explode("\n", $v);
     12  $v = stripslashes($v);
     13  if (!empty($v))
     14    $this->my_config['filters'] = explode("\n", $v);
     15  else
     16    $this->my_config['filters'] = array();
    1317  $this->my_config['show_args'] = isset($_POST['eventTracer_show_args']);
    1418  $this->save_config();
Note: See TracChangeset for help on using the changeset viewer.