You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.2 KiB
PHTML

<?php
/*
* Cryto Team is more free software. It is licensed under the WTFPL, which
* allows you to do pretty much anything with it, without having to
* ask permission. Commercial use is allowed, and no attribution is
* required. We do politely request that you share your modifications
* to benefit other developers, but you are under no enforced
* obligation to do so :)
*
* Please read the accompanying LICENSE document for the full WTFPL
* licensing text.
*/
if(!isset($_APP)) { die("Unauthorized."); }
$constants = array(
"PRIORITY_LOWEST" => 1,
"PRIORITY_LOW" => 2,
"PRIORITY_MEDIUM" => 3,
"PRIORITY_HIGH" => 4,
"PRIORITY_CRITICAL" => 5,
"OPEN" => 1,
"CLOSED" => 2,
"INVALID" => 3,
"NEEDS_REVIEW" => 4,
"IN_PROGRESS" => 5
"ATTACHMENT_FILE" => 1,
"ATTACHMENT_COMMIT" => 2,
"ATTACHMENT_TICKET" => 3,
"MESSAGE_FIRST" => 1,
"MESSAGE_RESPONSE" => 2,
"MESSAGE_CHANGE" => 3,
"TICKET" => 1,
"DOWNLOAD" => 2,
"WIKIPAGE" => 3,
"COMMIT" => 4,
"FORUMPOST" => 5,
"INVITATION" => 6,
"DESCRIPTION" => 7
"CREATE" => 1,
"DELETE" => 2,
"UPDATE" => 3,
"ATTACH" => 4,
"REPLY" => 5
);
foreach($constants as $key => $value)
{
define($key, $value, true);
}