moving business model sources

This commit is contained in:
Erik Amaru Ortiz
2013-11-04 13:11:58 -04:00
parent 9991a261bc
commit 8ce4be68e4
7 changed files with 42 additions and 9 deletions

View File

@@ -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;