install.php
См. документацию.
1 <?php
2 
3 /**
4  * @file
5  * @brief окно пустое
6  */
7 
8 isset($user) or require $_SERVER['DOCUMENT_ROOT'] . '/page/404.php';
9 
10 ?>
11 <div class="modal fade" id="<?= $basename ?>" tabindex="-1" data-backdrop="static" data-keyboard="false">
12  <div class="modal-dialog modal-dialog-centered" role="document">
13  <div class="modal-content text-white" style="background:#3B4346 url(/assets/system/img/bg01.jpg);">
14  <div class="modal-header">
15  <h5 class="modal-title"><i class="fa fa-download mr-2"></i>Версия: <?= Wrong\Start\Env::$e->VERSION ?></h5>
16  <button type="button" class="close text-white" data-dismiss="modal" aria-label="Close">
17  <span aria-hidden="true">&times;</span>
18  </button>
19  </div>
20  <div class="modal-body pt-1" style="background: #f7f7f7 url(/assets/system/img/bg04.png);color:#212529;">
21  <div>
22  <b>Системные требования:</b>
23  <ul class="check-list small mb-0">
24  <li>MariaDB >= 10.3</li>
25  <li>PHP >= 7.0</li>
26  <li>Composer >= 2.4</li>
27  <li>nodejs >= 16 (если нужна сборка фронтендов)</li>
28  </ul>
29  <code class="d-flex flex-column mt-3">
30  <kbd class="d-flex justify-content-start text-nowrap overflow-auto"><span class="text-muted mr-1">$</span><span class="copy-text">git clone https://github.com/avtobys/wrong-mvc.git</span><a class="text-muted ml-auto" href="#"><i class="fa fa-copy" aria-hidden="true"></i></a></kbd>
31  <kbd class="d-flex justify-content-start text-nowrap overflow-auto mt-1"><span class="text-muted mr-1">$</span><span class="copy-text">cd wrong-mvc/</span><a class="text-muted ml-auto" href="#"><i class="fa fa-copy" aria-hidden="true"></i></a></kbd>
32  <kbd class="d-flex justify-content-start text-nowrap overflow-auto mt-1"><span class="text-muted mr-1">$</span><span class="copy-text">composer install</span><a class="text-muted ml-auto" href="#"><i class="fa fa-copy" aria-hidden="true"></i></a></kbd>
33  <kbd class="d-flex justify-content-start text-nowrap overflow-auto mt-1"><span class="text-muted mr-1">$</span><span class="copy-text">npm install</span><a class="text-muted ml-auto" href="#"><i class="fa fa-copy" aria-hidden="true"></i></a></kbd>
34  </code>
35  <div class="alert alert-secondary small p-1 px-2 mb-0 mt-3" role="alert">
36  <i class="fa fa-info-circle text-muted mr-2"></i>Подробности установки в <a target="_blank" href="/docs/">вашей структуре каталогов</a>
37  </div>
38  <div class="alert alert-secondary small p-1 px-2 mb-0 mt-1" role="alert">
39  <i class="fa-solid fa-eye text-muted mr-2"></i>Посмотреть как работает <a data-toggle="modal" data-target="#sign-up" data-dismiss="modal" data-callback="demoStart" href="#">демо версия</a>
40  </div>
41  <div class="alert alert-secondary small p-1 px-2 mb-0 mt-1" role="alert">
42  <i class="fa fa-question-circle text-muted mr-2"></i>Идеи, вопросы и пожелания оставляйте в <a data-toggle="modal" data-target="#comments" href="/comments">чате техподдержки</a>
43  </div>
44  <div class="alert alert-secondary small p-1 px-2 mb-0 mt-1" role="alert">
45  <i class="fa fa-coffee text-muted mr-2"></i>Ваш вклад в <a href="#donate">развитие проекта</a>
46  </div>
47  </div>
48  </div>
49  </div>
50  </div>
51  <script>
52  $('#<?= $basename ?> code kbd a').click(function(e) {
53  e.preventDefault();
54  $(this).prev().click();
55  });
56  typeof ym === 'function' && ym(92932927,'reachGoal','install');
57  </script>
58 </div>
static $e
Definition: Env.php:22
$user
Definition: from-user.php:38
setcookie('FROM_UID', $uid, [ 'expires'=> time()+31536000, 'path'=> '/', 'domain'=> $_SERVER['HTTP_HOST'], 'secure'=> Wrong\Start\Env::$e->IS_SECURE, 'httponly'=> false, 'samesite'=> Wrong\Start\Env::$e->IS_SECURE ? 'None' :'Lax']) or setcookie('FROM_UID' $_SERVER['HTTP_HOST']
Definition: from-user.php:36
href
Definition: main.php:21