diff options
Diffstat (limited to 'virtual/packages/chloe_config/connect.php')
-rw-r--r-- | virtual/packages/chloe_config/connect.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/virtual/packages/chloe_config/connect.php b/virtual/packages/chloe_config/connect.php new file mode 100644 index 0000000..2e4439f --- /dev/null +++ b/virtual/packages/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 | ?> | ||