constant-sample.php 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. define('SLASH',DIRECTORY_SEPARATOR);
  3. define('__ROOT__',dirname(__FILE__).SLASH);
  4. define('TIME_ZONE','Europe/Paris');
  5. define('ENTITY_PREFIX', '');
  6. define('LOG_PATH',__ROOT__.'log');
  7. define('FILE_PATH','file'.SLASH);
  8. define('PLUGIN_PATH','plugin'.SLASH);
  9. define('LIB_PATH',__ROOT__.'lib'.SLASH);
  10. define('AVATAR_PATH','avatar'.SLASH);
  11. global $databases_credentials;
  12. $databases_credentials = array(
  13. 'local' => array(
  14. 'connector' => '{{connector}}',
  15. 'host' => '{{host}}',
  16. 'name' => '{{name}}',
  17. 'login' => '{{login}}',
  18. 'password' => '{{password}}',
  19. ),
  20. // 'db2' => array(
  21. // 'connector' => 'Oracle',
  22. // 'name' => 'my ODBC name',
  23. // 'login' => 'login',
  24. // 'password' => 'password',
  25. // )
  26. );
  27. define('ROOT_URL','{{root}}');
  28. define('CRYPTKEY','{{cryptKey}}');
  29. //logs toutes les requetes sans formattage
  30. define('BASE_DEBUG',false);
  31. define('COOKIE_NAME','kiss-cookie');
  32. define('PROGRAM_NAME','Kiss');
  33. define('PROGRAM_AUTHOR','Kiss Team');
  34. define('SOURCE_VERSION','1.0');
  35. define('ADMIN_MAIL','{{admin_mail}}');
  36. ?>