use system account
This commit is contained in:
parent
e6854ad546
commit
a79b8c473b
10
tools/inc/cli.php
Normal file
10
tools/inc/cli.php
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
$mod = Array(
|
||||||
|
'id' => -1,
|
||||||
|
'type' => ADMIN,
|
||||||
|
'username' => '?',
|
||||||
|
'boards' => Array('*')
|
||||||
|
);
|
||||||
|
|
||||||
|
|
@ -7,7 +7,14 @@
|
|||||||
require 'inc/user.php';
|
require 'inc/user.php';
|
||||||
require 'inc/mod.php';
|
require 'inc/mod.php';
|
||||||
|
|
||||||
set_time_limit($config['mod']['rebuild_timelimit']);
|
require dirname(__FILE__) . '/inc/cli.php';
|
||||||
|
|
||||||
|
$mod = Array(
|
||||||
|
'id' => -1,
|
||||||
|
'type' => ADMIN,
|
||||||
|
'username' => '?',
|
||||||
|
'boards' => Array('*')
|
||||||
|
);
|
||||||
|
|
||||||
$start = microtime(true);
|
$start = microtime(true);
|
||||||
|
|
||||||
@ -71,5 +78,5 @@
|
|||||||
|
|
||||||
printf("Complete! Took %g seconds\n", microtime(true) - $start);
|
printf("Complete! Took %g seconds\n", microtime(true) - $start);
|
||||||
|
|
||||||
// modLog('Rebuilt everything using tools/rebuild.php');
|
modLog('Rebuilt everything using tools/rebuild.php');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user