constant.php 883 B

12345678910111213141516171819202122
  1. <?php
  2. define('__ROOT__',dirname(__FILE__).DIRECTORY_SEPARATOR);
  3. define('TIME_ZONE','Europe/Paris');
  4. define('ENTITY_PREFIX', '');
  5. define('DATABASE_PATH','database/.db');
  6. define('BASE_CONNECTION_STRING','sqlite:'.DATABASE_PATH);
  7. define('BASE_LOGIN',null);
  8. define('BASE_PASSWORD',null);
  9. define('UPLOAD_PATH','upload');
  10. define('SKETCH_PATH',UPLOAD_PATH.'/sketch/');
  11. define('PART_PATH',UPLOAD_PATH.'/part/');
  12. define('ALLOWED_RESOURCE_IMAGE','jpg,png,jpeg,gif,bmp');
  13. //Laisser vide si pas de vérification sur les resources de fichiers, sinon placez les extension
  14. //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
  15. define('ALLOWED_RESOURCE_FILE','');
  16. define('ALLOWED_RESOURCE_SIZE',1000000);
  17. define('PROGRAM_NAME','Hackpoint');
  18. define('SOURCE_VERSION','1.0');
  19. define('BASE_VERSION','1.0');
  20. ?>