Changeset 32430
- Timestamp:
- Jan 24, 2021, 5:52:32 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/most_downloaded/main.inc.php
r32418 r32430 38 38 } 39 39 40 global $pwg_loaded_plugins;40 $dcac = pwg_db_fetch_assoc(pwg_query("SELECT state FROM " . PLUGINS_TABLE . " WHERE id = 'download_counter';")); 41 41 42 if (!isset($pwg_loaded_plugins['download_counter'])){42 if($dcac['state'] != 'active'){ 43 43 if (script_basename() == 'admin'){ 44 44 include_once(dirname(__FILE__).'/initadmin.php');
Note: See TracChangeset
for help on using the changeset viewer.