constant-sample.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. define('BASE_SGBD','{{BASE_SGBD}}');
  12. define('BASE_HOST','{{BASE_HOST}}');
  13. define('BASE_NAME','{{BASE_NAME}}');
  14. define('BASE_LOGIN','{{BASE_LOGIN}}');
  15. define('BASE_PASSWORD','{{BASE_PASSWORD}}');
  16. define('ROOT_URL','{{ROOT_URL}}');
  17. define('CRYPTKEY','{{CRYPT_KEY}}');
  18. //logs toutes les requetes sans formattage
  19. define('BASE_DEBUG',false);
  20. define('COOKIE_NAME','erp-core-cookie');
  21. define('PROGRAM_NAME','Sys1 ERP');
  22. define('PROGRAM_UID','sys1/erp-core');
  23. define('PROGRAM_TECHNICIAN','valentin.morreel');
  24. //Windows
  25. define('REFERENCE_URL','https://projet.sys1.fr/action.php?action=reference_save_project');
  26. //Linux
  27. // define('REFERENCE_URL','http://projet.sys1.fr/action.php?action=reference_save_project');
  28. define('SOURCE_VERSION','1.0');
  29. define('BASE_VERSION','1.0');
  30. ?>