core/api/modules/codeeditor/index.php

13 lines
539 B
PHP
Raw Normal View History

2023-07-12 20:02:20 +05:00
<?php
ini_set('display_errors', 0 );
if ( $_SESSION['dostup'] != 'a' && $_SESSION['dostup'] != 'e' && $_SESSION['dostup'] != 'c' ) header( 'Location: /login/' );// && $dostup!='m'
/* ----------------------------------------------------------------------
14.12.2022
Читаем заметки
---------------------------------------------------------------------- */
//$smarty -> assign( 'page', round(\DB::getValue("SELECT AVG(speed) FROM `site_speed` WHERE `mod`='page' ORDER BY `t` DESC LIMIT 10000"), 4) );
?>