G
G
GamePander2019-01-01 19:55:08
DLE
GamePander, 2019-01-01 19:55:08

How to fix an error in the written registration on the DLE engine?

I have a registration written by another person, when you click the "Complete Registration" button on the site, the script should work and automatically load, which shows that the registration is completed. Script download code below:

<script src='$DURL/loadscript/register-".time()."'></script>

Full code:
<a class='register' id='registerStart'>Завершить регистрацию!</a>
      </div>
      <script src='$DURL/loadscript/register-".time()."'></script>

I think the problem is that the "$DURL" parameter is incorrectly specified, but I don't even know where to find and replace it. Therefore, I need help.
Now the complete code is exactly:
<a class='register' id='registerStart'>Завершить регистрацию!</a>
      </div>
      <script src='$DURL/loadscript/register-".time()."'></script>
    ";
    
    $tpl->load_template('modules2.tpl');
    $tpl->set('{header}', $header);
    $tpl->set('{content}', $content);
    $tpl->set( 'Array', "" );
    $tpl->compile('content');
    $tpl->clear();
  }

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question