aboutsummaryrefslogtreecommitdiffstats
path: root/include/cli_suggest.php
blob: 321ffd2e0391ad4e6f71729e133a527716f9862b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?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();
}