Files
citrus-cms/resources/views/api.blade.php
T
2026-04-28 21:15:09 +03:00

23 lines
526 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
$email = post("email");
$password = post("password");
if (Auth::attempt(array('email' => $email, 'password' => $password))){
// echo "Kullanıcı girişiniz başarılı. \n";
} else {
print2($_POST);
echo "Kullanıcı adı veya şifreniz yanlış. Lütfen tekrar deneyiniz. \n";
exit();
}
if(getisset("route")) {
$route = get("route");
?>
@if(View::exists("api.$route"))
@include("api.$route")
@else
Geçerli bir yönlendirici bulunamadı
@endif
<?php
} ?>