mirror of
https://github.com/slawkens/myaac.git
synced 2025-12-04 16:46:50 +01:00
First public release of MyAAC
This commit is contained in:
15
tools/signature/index.php
Normal file
15
tools/signature/index.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
require('../../common.php');
|
||||
require(SYSTEM . 'functions.php');
|
||||
require(SYSTEM . 'init.php');
|
||||
|
||||
if(!$config['signature_enabled'])
|
||||
die('Signatures disabled.');
|
||||
|
||||
$file = strtolower($config['signature_type']) . '.php';
|
||||
if(!file_exists($file))
|
||||
die('ERROR: Wrong signature type in config.');
|
||||
|
||||
$cacheMinutes = 5;
|
||||
require($file);
|
||||
?>
|
||||
Reference in New Issue
Block a user