File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -54,16 +54,14 @@ public static function register_activation()
54
54
$ count = 0 ;
55
55
!defined ('LSCWP_LOG_TAG ' ) && define ('LSCWP_LOG_TAG ' , 'Activate_ ' . get_current_blog_id ());
56
56
57
+ /* Network file handler */
57
58
if (is_multisite ()) {
58
59
$ count = self ::get_network_count ();
59
60
if ($ count !== false ) {
60
61
$ count = intval ($ count ) + 1 ;
61
62
set_site_transient (self ::NETWORK_TRANSIENT_COUNT , $ count , DAY_IN_SECONDS );
62
63
}
63
- }
64
64
65
- /* Network file handler */
66
- if (is_multisite ()) {
67
65
if (!is_network_admin ()) {
68
66
if ($ count === 1 ) {
69
67
// Only itself is activated, set .htaccess with only CacheLookUp
@@ -75,6 +73,7 @@ public static function register_activation()
75
73
}
76
74
}
77
75
}
76
+ self ::cls ()->update_files ();
78
77
79
78
if (defined ('LSCWP_REF ' ) && LSCWP_REF == 'whm ' ) {
80
79
GUI ::update_option (GUI ::WHM_MSG , GUI ::WHM_MSG_VAL );
You can’t perform that action at this time.
0 commit comments