File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ function has_sslsb( $domain ) {
194194 <div class=" row " >
195195
196196 <! –– #### begin update detection #### ––>
197- @if (env (' NOTIFY_UPDATES' ) == ' old' )
197+ @if (env (' NOTIFY_UPDATES' ) === ' old' )
198198 <! –– Checks if file version.json exists to continue (without this PHP will throw ErrorException ) ––>
199199 @if (file_exists (base_path (" version.json" )) )
200200
@@ -213,9 +213,7 @@ function has_sslsb( $domain ) {
213213 <a style=" color:#007bff " class=" nav-link " href=" {{ url (' update' ) } }" title=" Click here to learn more about how to update " >An update is available</a>
214214 @endif
215215 @endif
216- @elseif (env (' NOTIFY_UPDATES' ) == ' false' )
217- {{-- No update checks --}}
218- @else
216+ @elseif (env (' NOTIFY_UPDATES' ) === ' true' or env (' NOTIFY_UPDATES' ) === ' major' or env (' NOTIFY_UPDATES' ) === ' all' )
219217 <?php // Checks if URL exists
220218 try {
221219 function URL_exists (string $url ): bool
You can’t perform that action at this time.
0 commit comments