forked from ldleman/hackpoint
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstant.php
More file actions
22 lines (20 loc) · 883 Bytes
/
constant.php
File metadata and controls
22 lines (20 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
define('__ROOT__',dirname(__FILE__).DIRECTORY_SEPARATOR);
define('TIME_ZONE','Europe/Paris');
define('ENTITY_PREFIX', '');
define('DATABASE_PATH','database/.db');
define('BASE_CONNECTION_STRING','sqlite:'.DATABASE_PATH);
define('BASE_LOGIN',null);
define('BASE_PASSWORD',null);
define('UPLOAD_PATH','upload');
define('SKETCH_PATH',UPLOAD_PATH.'/sketch/');
define('PART_PATH',UPLOAD_PATH.'/part/');
define('ALLOWED_RESOURCE_IMAGE','jpg,png,jpeg,gif,bmp');
//Laisser vide si pas de vérification sur les resources de fichiers, sinon placez les extension
//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
define('ALLOWED_RESOURCE_FILE','');
define('ALLOWED_RESOURCE_SIZE',6000000);
define('PROGRAM_NAME','Hackpoint');
define('SOURCE_VERSION','1.0');
define('BASE_VERSION','1.0');
?>