initial commit
This commit is contained in:
19
.google/PG-Admission-with-google-sign-in/api/index.php
Normal file
19
.google/PG-Admission-with-google-sign-in/api/index.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
$ret = new \stdClass();
|
||||
$ret->status="n";
|
||||
$ret->msg="NA";
|
||||
|
||||
$lnk2 = explode('?', $lnk);
|
||||
include("header.php");//echo $lnk."c";
|
||||
if($lnk=="") include("home.php");
|
||||
elseif(file_exists(__DIR__."/".$lnk.".php")) include($lnk.".php");
|
||||
elseif(isset($lnk2[1]) && file_exists(__DIR__."/".$lnk2[0].".php") ) include($lnk2[0].".php");
|
||||
else include("404.php");
|
||||
include("footer.php");
|
||||
|
||||
// $filename =explode('?', $lnk);$req=$filename[0];
|
||||
// if($req=="") include("default.php");
|
||||
// elseif(file_exists(__DIR__."/".$req.".php")) include($req.".php");
|
||||
// else include("404.php");
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user