Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

auth.php

  • Loading branch information...
commit 5a3662e595038498191a94db2c3f755d1b68a830 1 parent 3b7be9c
@boopathi authored
Showing with 17 additions and 6 deletions.
  1. +14 −0 controllers/auth.php
  2. +3 −6 controllers/super.php
View
14 controllers/auth.php
@@ -0,0 +1,14 @@
+<?php
+
+/*
+ * Auth.php
+ */
+
+namespace Controller;
+class Auth extends Controller {
+ public $user;
+ function __construct($model, $view) {
+ parent::__construct($model, $view);
+ }
+}
+
View
9 controllers/super.php
@@ -4,6 +4,8 @@
* Controller.php
*/
+namespace Controller;
+
class Controller {
protected $model;
protected $view;
@@ -14,9 +16,4 @@ public function __construct($model, $view) {
}
}
-class Auth extends Controller {
- public $user;
- function __construct($model, $view) {
- parent::__construct($model, $view);
- }
-}
+
Please sign in to comment.
Something went wrong with that request. Please try again.