summaryrefslogtreecommitdiff
path: root/login_form.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-19 08:13:36 +0100
committerAndrew Dolgov <[email protected]>2009-01-19 08:13:36 +0100
commit4f7956b3df7a7f87bbf7f70d9902edbd0264b43f (patch)
tree17528825640b1b23f1778388174a0cecf16ae582 /login_form.php
parentbf996dfab4945953321a7678e5d6da6585a745b0 (diff)
add registration script and required config options
Diffstat (limited to 'login_form.php')
-rw-r--r--login_form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/login_form.php b/login_form.php
index 59982c295..b906e175c 100644
--- a/login_form.php
+++ b/login_form.php
@@ -129,7 +129,7 @@ window.onload = init;
<tr><td colspan="2" align="right" class="innerLoginCell">
<input type="submit" class="button" value="<?php echo __('Log in') ?>" name='click'>
- <?php if (defined('_ENABLE_REGISTRATION')) { ?>
+ <?php if (defined('ENABLE_REGISTRATION') && ENABLE_REGISTRATION) { ?>
<input type="submit" class="button" onclick="return gotoRegForm()"
value="<?php echo __("Create new account") ?>"/>
<?php } ?>