them apples
Showing
2 changed files
with
18 additions
and
8 deletions
| 1 | <?php | 1 | <?php |
| 2 | // if (!isset($_SESSION) && !isset($_SESSION['username'])) { | 2 | session_start(); |
| 3 | // return; | 3 | if (!isset($_SESSION) && !isset($_SESSION['token'])) { |
| 4 | // } | 4 | ?> |
| 5 | <script> | ||
| 6 | $(document).ready(function() { | ||
| 7 | |||
| 8 | $('authOps').empty(); | ||
| 9 | |||
| 10 | }); | ||
| 11 | </script> | ||
| 12 | <?php | ||
| 13 | return; | ||
| 14 | } | ||
| 5 | 15 | ||
| 6 | session_start(); | 16 | |
| 7 | $dockets = Array(); | 17 | $dockets = Array(); |
| 8 | $dockets_obj = json_decode($_SESSION['lookup']); | 18 | $dockets_obj = json_decode($_SESSION['lookup']); |
| 9 | foreach ($dockets_obj as $docket => $key) { | 19 | foreach ($dockets_obj as $docket => $key) { | ... | ... |
| ... | @@ -19,7 +19,7 @@ | ... | @@ -19,7 +19,7 @@ |
| 19 | * See the License for the specific language governing permissions and | 19 | * See the License for the specific language governing permissions and |
| 20 | * limitations under the License. | 20 | * limitations under the License. |
| 21 | */ | 21 | */ |
| 22 | 22 | session_start(); | |
| 23 | /* | 23 | /* |
| 24 | * Note (Gerwin Sturm): | 24 | * Note (Gerwin Sturm): |
| 25 | * Include path is still necessary despite autoloading because of the require_once in the libary | 25 | * 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) { | ... | @@ -153,8 +153,8 @@ $app->post('/disconnect', function () use ($app, $client) { |
| 153 | $client->revokeToken($token); | 153 | $client->revokeToken($token); |
| 154 | // Remove the credentials from the user's session. | 154 | // Remove the credentials from the user's session. |
| 155 | $app['session']->set('token', ''); | 155 | $app['session']->set('token', ''); |
| 156 | $app = ""; | 156 | unset($app); |
| 157 | $_SESSION = []; | 157 | unset($_SESSION); |
| 158 | session_destroy(); | 158 | session_destroy(); |
| 159 | session_unset(); | 159 | session_unset(); |
| 160 | 160 | ... | ... |
-
Please register or sign in to post a comment