mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-25 19:02:33 +00:00
Déploiement sur le serveur du TFJM²
This commit is contained in:
parent
08d0726af4
commit
1bf0316f2b
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<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>
|
<serverData>
|
||||||
<paths name="galaxyoyo.com">
|
<paths name="galaxyoyo.com">
|
||||||
<serverdata>
|
<serverdata>
|
||||||
@ -9,10 +9,10 @@
|
|||||||
</mappings>
|
</mappings>
|
||||||
</serverdata>
|
</serverdata>
|
||||||
</paths>
|
</paths>
|
||||||
<paths name="inscriptions.tfjm.org">
|
<paths name="inscription.tfjm.org">
|
||||||
<serverdata>
|
<serverdata>
|
||||||
<mappings>
|
<mappings>
|
||||||
<mapping deploy="/var/inscriptions-tfjm" local="$PROJECT_DIR$" web="/" />
|
<mapping deploy="/var/inscription-tfjm" local="$PROJECT_DIR$" web="/" />
|
||||||
</mappings>
|
</mappings>
|
||||||
</serverdata>
|
</serverdata>
|
||||||
</paths>
|
</paths>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="WebServers">
|
<component name="WebServers">
|
||||||
<option name="servers">
|
<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">
|
<fileTransfer host="tfjm.org" port="22" accessType="SFTP" authAgent="true">
|
||||||
<advancedOptions>
|
<advancedOptions>
|
||||||
<advancedOptions dataProtectionLevel="Private" passiveMode="true" shareSSLContext="true" />
|
<advancedOptions dataProtectionLevel="Private" passiveMode="true" shareSSLContext="true" />
|
||||||
|
@ -59,7 +59,7 @@ foreach ($ROUTES as $route => $file) {
|
|||||||
$_GET[$file[$i]] = $matches[$i];
|
$_GET[$file[$i]] = $matches[$i];
|
||||||
|
|
||||||
if (!preg_match("#php$#", $file[0])) {
|
if (!preg_match("#php$#", $file[0])) {
|
||||||
header("Content-Type: " . $matches[1]);
|
header("Content-Type: " . $file[1]);
|
||||||
readfile($file[0]);
|
readfile($file[0]);
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user