HomePhorge

Fix preamble-support

Description

Fix preamble-support

Summary:
Phutil is not yet loaded during preamble, so we can't use it.

This change fixes a regression introduced here, fixing PHP 8.1 support:

rP96ae4ba13acb: PHP 8.1: fixes for strlen() not accepting NULL anymore, part 2

Ref T15064

Test Plan: Included test script.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: speck, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15064

Differential Revision: https://we.phorge.it/D25114

Details

Provenance
Aviv EyalAuthored on Apr 9 2023, 11:10 AM
themackabuPushed on Tue, Mar 25, 8:07 PM
Parents
rPa7b472284be6: Mobile: show Homepage contents and avoid duplicate menus
Branches
Unknown
Tags
Unknown

Event Timeline