5c511bbe58
telegram.py is developing, cannot be use yet, plzz ignore it
20 lines
563 B
PHP
20 lines
563 B
PHP
<?php
|
|
|
|
require_once('config.inc.php');
|
|
require_once('functions.php');
|
|
$plugins = [];
|
|
|
|
$from = $_GET['from']
|
|
|
|
//load plugins
|
|
$load_plugins = glob(dirname(__FILE__).DIRECTORY_SEPARATOR.'plugins'.DIRECTORY_SEPARATOR.'*.php');
|
|
foreach ($load_plugins as $key => $value) {
|
|
if ($value == dirname(__FILE__).DIRECTORY_SEPARATOR.'plugins'.DIRECTORY_SEPARATOR.'help.php') {
|
|
unset($load_plugins[$key]);
|
|
}
|
|
}
|
|
foreach ($load_plugins as $value) {
|
|
require_once $value;
|
|
}
|
|
require_once dirname(__FILE__).DIRECTORY_SEPARATOR.'plugins'.DIRECTORY_SEPARATOR.'help.php';
|
|
} |