X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=register.php;h=0c0374b332b2418d779837bb57a3f143faaf1002;hb=HEAD;hp=298f2818f960bd2fc913c8204a768cb4d5d989a4;hpb=62bebb89af9afb9c4008d799c67e24988cb3688d;p=timetracker.git diff --git a/register.php b/register.php index 298f2818..0c0374b3 100644 --- a/register.php +++ b/register.php @@ -29,11 +29,15 @@ require_once('initialize.php'); import('form.Form'); -if (!isTrue(MULTITEAM_MODE) || $auth->isPasswordExternal()) { +if (!isTrue('MULTIORG_MODE') || $auth->isPasswordExternal()) { header('Location: login.php'); exit(); } +// Use the "limit" plugin if we have one. Ignore include errors. +// The "limit" plugin is not required for normal operation of Time Tracker. +@include('plugins/limit/register.php'); + $auth->doLogout(); if (!defined('CURRENCY_DEFAULT')) define('CURRENCY_DEFAULT', '$');