core/api/modules/codeeditor/index.php

13 lines
539 B
PHP
Executable File

<?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) );
?>