49 lines
1.2 KiB
PHP
Executable File
49 lines
1.2 KiB
PHP
Executable File
<?php
|
|
/* Smarty version 5.3.1, created on 2024-11-01 12:13:33
|
|
from 'file:index.tpl' */
|
|
|
|
/* @var \Smarty\Template $_smarty_tpl */
|
|
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
|
'version' => '5.3.1',
|
|
'unifunc' => 'content_6724556d6de122_07701515',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'70016a707bf7e4201f6b859f14da0ce473918eac' =>
|
|
array (
|
|
0 => 'index.tpl',
|
|
1 => 1712762115,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
))) {
|
|
function content_6724556d6de122_07701515 (\Smarty\Template $_smarty_tpl) {
|
|
$_smarty_current_dir = '/private/var/www/wwwroot/crc.loc/resources/views/tabler';
|
|
?><!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="robots" content="noindex">
|
|
<title><?php echo $_smarty_tpl->getValue('config')['appName'];?>
|
|
</title>
|
|
<?php if ($_smarty_tpl->getValue('user')->isLogin) {?>
|
|
<?php echo '<script'; ?>
|
|
>
|
|
window.location.href = "/user"
|
|
<?php echo '</script'; ?>
|
|
>
|
|
<?php } else { ?>
|
|
<?php echo '<script'; ?>
|
|
>
|
|
window.location.href = "/auth/login"
|
|
<?php echo '</script'; ?>
|
|
>
|
|
<?php }?>
|
|
</head>
|
|
</html>
|
|
<?php }
|
|
}
|