directory debugging
This commit is contained in:
parent
3ba267d0c0
commit
a192171365
@ -8,6 +8,8 @@ function find_upstream_directory($dirmode) {
|
|||||||
|
|
||||||
function syncdirs($uid) {
|
function syncdirs($uid) {
|
||||||
|
|
||||||
|
logger('syncdirs', LOGGER_DEBUG);
|
||||||
|
|
||||||
$p = q("select channel.channel_hash, profile.* from profile left join channel on channel_id = uid where uid = %d and is_default = 1",
|
$p = q("select channel.channel_hash, profile.* from profile left join channel on channel_id = uid where uid = %d and is_default = 1",
|
||||||
intval($uid)
|
intval($uid)
|
||||||
);
|
);
|
||||||
|
@ -12,6 +12,8 @@ function directory_run($argv, $argc){
|
|||||||
if($argc != 2)
|
if($argc != 2)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
logger('directory update', LOGGER_DEBUG);
|
||||||
|
|
||||||
$dirmode = get_config('system','directory_mode');
|
$dirmode = get_config('system','directory_mode');
|
||||||
if($dirmode === false)
|
if($dirmode === false)
|
||||||
$dirmode = DIRECTORY_MODE_NORMAL;
|
$dirmode = DIRECTORY_MODE_NORMAL;
|
||||||
|
Reference in New Issue
Block a user