diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-01-10 23:02:54 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-01-10 23:20:03 +0100 |
commit | 091ae73429b8853e6ab971bffaccd84bdd59f40d (patch) | |
tree | 17ba770ff2e30c6f2b3f2e87dc8937093bd39e30 /virtual/modules/websites/chloe/chloe_config/connect.php | |
parent | ad915416a6886010139413f4fbc41ed827336aa2 (diff) | |
download | Nix-091ae73429b8853e6ab971bffaccd84bdd59f40d.tar.gz Nix-091ae73429b8853e6ab971bffaccd84bdd59f40d.tar.zst Nix-091ae73429b8853e6ab971bffaccd84bdd59f40d.zip |
Move packages fils to module
Diffstat (limited to 'virtual/modules/websites/chloe/chloe_config/connect.php')
-rw-r--r-- | virtual/modules/websites/chloe/chloe_config/connect.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/virtual/modules/websites/chloe/chloe_config/connect.php b/virtual/modules/websites/chloe/chloe_config/connect.php new file mode 100644 index 0000000..2e4439f --- /dev/null +++ b/virtual/modules/websites/chloe/chloe_config/connect.php | |||
@@ -0,0 +1,6 @@ | |||
1 | <?php | ||
2 | if (!defined("_ECRIRE_INC_VERSION")) return; | ||
3 | define('_MYSQL_SET_SQL_MODE',true); | ||
4 | $GLOBALS['spip_connect_version'] = 0.7; | ||
5 | spip_connect_db(getenv("SPIP_MYSQL_HOST"),'',getenv("SPIP_MYSQL_USER"),getenv("SPIP_MYSQL_PASSWORD"),getenv("SPIP_MYSQL_DB"),'mysql', 'spip','ldap.php'); | ||
6 | ?> | ||