Changeset 3372908
- Timestamp:
- 10/04/2025 04:19:01 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plain-event-calendar/trunk/plain-event-calendar.php
r3372822 r3372908 45 45 if (preg_match('/plugin name:[\s\t]+?(.+)/i', $fileContents, $v)) { 46 46 $defaultLabel = $v[1]; 47 } 48 else { 47 } else { 49 48 $defaultLabel = basename(__FILE__); 50 49 } … … 85 84 foreach ($fs as $f) { 86 85 $f = __DIR__ . '/' . $f; 87 if (file_exists($f)) {86 if (file_exists($f)) { 88 87 $modules = array_merge(require($f), $modules); 89 88 } … … 107 106 global $wpdb; 108 107 if (is_multisite()) { 109 // $shareDatabase = get_site_option( ' locatoraid_share_database', 0 );108 // $shareDatabase = get_site_option( 'plaineventcalendar_share_database', 0 ); 110 109 $shareDatabase = false; 111 110 $wpdbPrefix = $shareDatabase ? $wpdb->base_prefix : $wpdb->prefix;
Note: See TracChangeset
for help on using the changeset viewer.