More debugging

This commit is contained in:
Squidly271 2021-05-16 11:19:03 -04:00
parent 22c23409a9
commit bd02217110
4 changed files with 9 additions and 3 deletions

View File

@ -130,6 +130,12 @@ var repoBanner = false;
var repoBannerTimer = false;
var unRaidFontSize = $("html").css("font-size").replace("px","");
$(function(){
window.onerror = function(msg,url,lineNo,columnNo, error) {
alert("Fatal javascript error. "+msg+error);
post({action:'javascriptError',msg:msg,url:url,lineNo:lineNo,columnNo:columnNo,error:error});
}
});
$(function(){
// This file is guaranteed to exist on the flash drive. Even though 6.10Beta3+ includes similar code, keep this code because CA just can't function properly with a flash offline / corrupted.
<? if ( ! is_file($caPaths['docker_cfg']) ): ?>

View File

@ -1,6 +1,6 @@
767d6f2203fed9541daeb57bbf7b58b3 ./Apps.page
83b3f89cd42e8601c7c217d5b4889c81 ./CA_notices.page
fc0fee5e0a2b53fb72a9d7ba021b88a7 ./CommunityApps.page
e3b4d03ace58346313f1c852b44dcdfd ./CommunityApps.page
6db73582f22dab13d329e862067ee84e ./PluginAPI.page
b398273cf7daa62ab00d2de2336ca25f ./README.md
1a908064914041c48be7bf0dab77515a ./ca_settings.page
@ -11,7 +11,7 @@ b398273cf7daa62ab00d2de2336ca25f ./README.md
6e48a62b91bdd066f023f46c6b491afd ./images/discord-gray.svg
8e7dc33512b8a78f28d7179a972c7c34 ./images/discord-hover.svg
54e46db492ddb033dfeb2827c5efd4a8 ./images/discord-white.svg
4639641d295f30e833a3621712b1dc39 ./include/exec.php
83e99938994e5d45de53ba97d7d7a1c8 ./include/exec.php
946e0ae402b85b1aabcd5efe321b2c9e ./include/helpers.php
8f1129e0cdb994c6d1900192252433d8 ./include/paths.php
9ba7ea3ef8bad60cb8335da9c0daea4f ./javascript/libraries.js

View File

@ -842,7 +842,7 @@ function force_update() {
$appFeedTime = readJsonFile($caPaths['lastUpdated-old']);
$updateTime = tr(date("F",$appFeedTime['last_updated_timestamp']),0).date(" d, Y @ g:i a",$appFeedTime['last_updated_timestamp']);
$updateTime = str_replace("'","&apos;",$updateTime);
postReturn(['status'=>"ok",'script'=>"feedWarning('$currentServer');$('.statistics').attr('title','{$updateTime}');"]);
}