Ignore:
Timestamp:
Nov 22, 2009, 6:34:35 PM (14 years ago)
Author:
LucMorizur
Message:

[Event Cats] Remove define of EC_AP_OK with a mysql query in main.inc.php

(See http://code.piwigo.org/issues/show/1249 )

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/event_cats/main.inc.php

    r4338 r4342  
    5555  'ROOT_URL',
    5656   get_absolute_root_url()
    57 );
    58 define(
    59   'EC_AP_OK', // whether Additional Pages is installed and activated
    60    (mysql_num_rows(pwg_query("
    61      SELECT *
    62      FROM `".PLUGINS_TABLE."`
    63      WHERE `id`    = 'AdditionalPages'
    64        AND `state` = 'active';
    65    ")) != 0)
    6657);
    6758
Note: See TracChangeset for help on using the changeset viewer.