Seems it's being escaped already at https://github.com/tractorcow/sapphire/blob/c1bf81b3c41e0ff9d450d926bb67e0877dde1468/dev/install/install.php5#L1203 with "addcslashes".