2012012000-1.8.3-ip_in_syslog-87fe0f068cf62428.php 282 B

123456789101112
  1. <?php
  2. /**
  3. * Elgg 1.8.3 upgrade 2012012000
  4. * ip_in_syslog
  5. *
  6. * Adds a field for an IP address in the system log table
  7. */
  8. $db_prefix = elgg_get_config('dbprefix');
  9. $q = "ALTER TABLE {$db_prefix}system_log ADD ip_address VARCHAR(15) NOT NULL AFTER time_created";
  10. update_data($q);