Embed the assets as data URIs in rescueMode.tpl
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 13 Apr 2022 08:06:35 +0000 (10:06 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 13 Apr 2022 08:26:02 +0000 (10:26 +0200)
commit06e128a92d3fb474d87205a08f11f7aa04cea0d5
treed11c8e7871c8aff6482dff399892019e575953ac
parentff39344cd6018d2836a7ece16d0c97f6ac0127f2
Embed the assets as data URIs in rescueMode.tpl

The same reasoning as for the change to WCFSetup in
600940bc4fe0cbc219ba6fd9a89444aefa07dda5 applies:

With this change the rescue mode is fully self-contained and does not rely on
external requests that need to be served using PHP, making it more resilient.

It also avoids the expensive rebuild of the compiled ACP CSS, because it now
uses the prebuilt WCFSetup.css which can be used as-is for this purpose.
wcfsetup/install/files/acp/templates/rescueMode.tpl
wcfsetup/install/files/lib/acp/form/RescueModeForm.class.php