Actualización
This commit is contained in:
13
plugin/userremoteservice/redirect.php
Normal file
13
plugin/userremoteservice/redirect.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
/* For licensing terms, see /license.txt */
|
||||
|
||||
require_once __DIR__.'/config.php';
|
||||
|
||||
if (!api_user_is_login()) {
|
||||
api_not_allowed(true);
|
||||
}
|
||||
|
||||
$plugin = UserRemoteServicePlugin::create();
|
||||
|
||||
header('Location: '.$plugin->getActiveServiceSpecificUserUrl());
|
||||
exit;
|
||||
Reference in New Issue
Block a user