diff --git a/api/api.php b/api/api.php index 050884c..d9ab707 100755 --- a/api/api.php +++ b/api/api.php @@ -88,7 +88,7 @@ class gbAPI { $given_string = explode(".", $given); - if (count($parts) !== 2) { + if (count($given_string) !== 2) { return false; } @@ -120,7 +120,7 @@ class gbAPI { $given_string = explode(".", $given); - if (count($parts) !== 2) { + if (count($given_string) !== 2) { return false; } diff --git a/public/templates/login/login.html b/public/templates/login/login.html new file mode 100644 index 0000000..1b23f80 --- /dev/null +++ b/public/templates/login/login.html @@ -0,0 +1,52 @@ + + + + + + %appname% // Login + + + + + + +
+
+

%appname%

+

Admin Panel Login



+

+

+ Login +
+
+ + + \ No newline at end of file diff --git a/public/templates/templates.json b/public/templates/templates.json index b23bcc2..9498c72 100755 --- a/public/templates/templates.json +++ b/public/templates/templates.json @@ -18,5 +18,11 @@ "dir_name":"entrys_frontend", "html_file":"entrys_frontend.html", "css_files":[] + }, + "login":{ + "name":"login", + "dir_name":"login", + "html_file":"login.html", + "css_files":[] } } \ No newline at end of file