b1a8b61b by Jeff Balicki

them apples

1 parent 22f57835
<?php
// if (!isset($_SESSION) && !isset($_SESSION['username'])) {
// return;
// }
<?php
session_start();
if (!isset($_SESSION) && !isset($_SESSION['token'])) {
?>
<script>
$(document).ready(function() {
$('authOps').empty();
});
</script>
<?php
return;
}
session_start();
$dockets = Array();
$dockets_obj = json_decode($_SESSION['lookup']);
foreach ($dockets_obj as $docket => $key) {
......
......@@ -19,7 +19,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
session_start();
/*
* Note (Gerwin Sturm):
* Include path is still necessary despite autoloading because of the require_once in the libary
......@@ -153,8 +153,8 @@ $app->post('/disconnect', function () use ($app, $client) {
$client->revokeToken($token);
// Remove the credentials from the user's session.
$app['session']->set('token', '');
$app = "";
$_SESSION = [];
unset($app);
unset($_SESSION);
session_destroy();
session_unset();
......