编辑文件csrf-magic.php
# vim /usr/local/cacti/include/vendor/csrf/csrf-magic.php
添加如下:
$GLOBALS['csrf']['defer'] = false;
$GLOBALS['csrf']['defer'] = true;
编辑文件csrf-magic.php
# vim /usr/local/cacti/include/vendor/csrf/csrf-magic.php
添加如下:
$GLOBALS['csrf']['defer'] = false;
$GLOBALS['csrf']['defer'] = true;