moving business model sources
This commit is contained in:
@@ -4,7 +4,6 @@ switch ($_SERVER['REQUEST_METHOD']) {
|
||||
$G_PUBLISH = new Publisher();
|
||||
|
||||
$G_PUBLISH->AddContent( 'view', 'oauth2/authorize' );
|
||||
$erik = 'neyek';
|
||||
|
||||
G::RenderPage('publish', 'minimal');
|
||||
break;
|
||||
@@ -19,6 +18,7 @@ switch ($_SERVER['REQUEST_METHOD']) {
|
||||
\Api\OAuth2\Server::setPmClientId('x-pm-local-client');
|
||||
|
||||
$oauthServer = new \Api\OAuth2\Server();
|
||||
|
||||
$userid = $_SESSION['USER_LOGGED'];
|
||||
$authorize = isset($_POST['authorize']) ? (bool) $_POST['authorize'] : false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user