start.php 226 B

123456789
  1. <?php
  2. elgg_register_event_handler('init', 'system', function() {
  3. elgg_unregister_action('comments/add');
  4. elgg_register_action('comments/add', dirname(__FILE__) . '/actions/comment.php');
  5. });