Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-12107

Log table name is hard-coded in log.get_logs()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.0-a3
    • 3.1.0-a2
    • ACP
    • None
    • PHP 5.2.3, MySQL 5.1.3, IE11

      With $phpbb_log->set_log_table() it's possible to change logging in another table.
      That's working perfectly.

      But $phpbb_log->get_logs will only look in the log table defined in constants.php.

      So change LOG_TABLE around line 442 and 468 in $this->log_table in file phpbb/log.php

            bantu Andreas Fischer [X] (Inactive)
            John P John P [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: