Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (10 sloc) 0.3 kb
<?php
$dir = basename(rtrim(dirname(__FILE__),'/'));
// Check directory
if($dir != "silverticket") {
user_error(sprintf(
_t('Messages.WRONGDIRECTORY','The Postale module must be in a directory named "silverticket" (currently "%s")'),
$dir
), E_USER_ERROR);
}
TicketsPage::set_url('tickets');
Jump to Line
Something went wrong with that request. Please try again.