constant.php 972 B

123456789101112131415161718192021222324
  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('DATABASE_PATH','database'.SLASH.'.db');
  7. define('BASE_CONNECTION_STRING','sqlite:'.DATABASE_PATH);
  8. define('BASE_LOGIN',null);
  9. define('BASE_PASSWORD',null);
  10. define('UPLOAD_PATH','upload');
  11. define('SKETCH_PATH',UPLOAD_PATH.SLASH.'sketch'.SLASH);
  12. define('PART_PATH',UPLOAD_PATH.SLASH.'part'.SLASH);
  13. define('PLUGIN_PATH','plugin'.SLASH);
  14. define('ALLOWED_RESOURCE_IMAGE','jpg,png,jpeg,gif,bmp');
  15. //Laisser vide si pas de vérification sur les resources de fichiers, sinon placez les extension
  16. //autorisées sous la forme : jpg,png,jpeg,gif,bmp,txt,doc,docx,cmd,bat,exe,cpp,c,h,hpp,ino,php,js,css,ttf,woff,svg,pdf,xls,xlsx,sql,ico,doc,docx
  17. define('ALLOWED_RESOURCE_FILE','');
  18. define('ALLOWED_RESOURCE_SIZE',6000000);
  19. define('PROGRAM_NAME','Hackpoint');
  20. define('SOURCE_VERSION','1.0');
  21. define('BASE_VERSION','1.0');
  22. ?>