mirror of
https://github.com/YunoHost-Apps/hubzilla_ynh.git
synced 2024-09-03 19:26:21 +02:00
23 lines
331 B
PHP
23 lines
331 B
PHP
|
<?php /** @file */
|
||
|
|
||
|
require_once('boot.php');
|
||
|
require_once('include/cli_startup.php');
|
||
|
require_once('include/socgraph.php');
|
||
|
|
||
|
|
||
|
function cli_suggest_run($argv, $argc){
|
||
|
|
||
|
cli_startup();
|
||
|
|
||
|
$a = get_app();
|
||
|
|
||
|
update_suggestions();
|
||
|
|
||
|
}
|
||
|
|
||
|
if (array_search(__file__,get_included_files())===0){
|
||
|
cli_suggest_run($argv,$argc);
|
||
|
killme();
|
||
|
}
|
||
|
|