Déploiement sur le serveur du TFJM²

This commit is contained in:
galaxyoyo 2019-09-08 19:12:35 +02:00
parent 08d0726af4
commit 1bf0316f2b
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="PublishConfigData" autoUpload="Always" serverName="galaxyoyo.com" autoUploadExternalChanges="true">
<component name="PublishConfigData" autoUpload="Always" serverName="inscription.tfjm.org" autoUploadExternalChanges="true">
<serverData>
<paths name="galaxyoyo.com">
<serverdata>
@ -9,10 +9,10 @@
</mappings>
</serverdata>
</paths>
<paths name="inscriptions.tfjm.org">
<paths name="inscription.tfjm.org">
<serverdata>
<mappings>
<mapping deploy="/var/inscriptions-tfjm" local="$PROJECT_DIR$" web="/" />
<mapping deploy="/var/inscription-tfjm" local="$PROJECT_DIR$" web="/" />
</mappings>
</serverdata>
</paths>

View File

@ -2,7 +2,7 @@
<project version="4">
<component name="WebServers">
<option name="servers">
<webServer id="3455bbbe-7983-4ac6-b2f8-7e6c650508e4" name="inscriptions.tfjm.org" url="https://inscriptions.tfjm.org">
<webServer id="3455bbbe-7983-4ac6-b2f8-7e6c650508e4" name="inscription.tfjm.org" url="https://inscription.tfjm.org">
<fileTransfer host="tfjm.org" port="22" accessType="SFTP" authAgent="true">
<advancedOptions>
<advancedOptions dataProtectionLevel="Private" passiveMode="true" shareSSLContext="true" />

View File

@ -59,7 +59,7 @@ foreach ($ROUTES as $route => $file) {
$_GET[$file[$i]] = $matches[$i];
if (!preg_match("#php$#", $file[0])) {
header("Content-Type: " . $matches[1]);
header("Content-Type: " . $file[1]);
readfile($file[0]);
exit();
}