Skip to content

Commit

Permalink
Merge pull request #1 from LaswitchTech/dev
Browse files Browse the repository at this point in the history
Publishing v1.0.1
  • Loading branch information
LouisOuellet authored Aug 1, 2024
2 parents 88c3d6d + 8dbd48b commit fac24b8
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 14 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.0.1
24 changes: 12 additions & 12 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion src/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function __construct(){
$this->Logger = new Logger('router');

// Initiate Auth if class exists
if(class_exists('Auth')) $this->Auth = new Auth();
if(class_exists('LaswitchTech\coreAuth\Auth')) $this->Auth = new Auth();

// Initiate CSRF
$this->CSRF = new CSRF();
Expand Down Expand Up @@ -737,6 +737,13 @@ protected function getTemplateFile(){
return $this->Configurator->root() . '/' . $this->Template;
}

/**
* Get the Parent
*
* @return string
*/
protected function getParent(){ return $this->Parent; }

// Helper Methods

/**
Expand Down

0 comments on commit fac24b8

Please sign in to comment.