This commit is contained in:
2022-04-03 14:10:01 -04:00
parent a9b09dc416
commit 266b9ddad8
15 changed files with 608 additions and 270 deletions
+21 -3
View File
@@ -2,6 +2,12 @@
defined('BASEPATH') OR exit('No direct script access allowed');
//Include Hybridauth autoloader
require APPPATH . '/third_party/hybridauth/autoload.php';
//Import Hybridauth's namespace
use Hybridauth\Hybridauth;
class Site extends WRB_Controller {
public function index() {
@@ -11,9 +17,21 @@ class Site extends WRB_Controller {
$this->load->view('users/view_external_footer');
* */
// $this->home1();
$this->load->view('site3/external/view_home');
///home/oameye/wrenchboard/www/application/views/site3/external
// Load Hybridauth's helper
$this->load->helper('hybridauth');
// Instantiate Hybridauth's classes
$hybrid = new Hybridauth(get_hybridauth_config());
// Get login links
$login_links = get_hybridauth_links($hybrid, $this->router);
// Pass login links to html template
$data['login_links'] = $login_links;
// Render html template
$this->load->view('site3/external/view_home');
///home/oameye/wrenchboard/www/application/views/site3/external
}
public function registration() {