stefanvangastel / CakePHP-Cakedesktop

Download full CakePHP webapplication as Windows desktop application.
MIT License
7 stars 4 forks source link

Add option to 'fake' webserver Auth user #5

Closed stefanvangastel closed 7 years ago

stefanvangastel commented 10 years ago

Eg. Kerberos user on webapplication.

Possible: use shell_exec('whoami') to retrieve username (works on Windows) and add this to index.php first line: $_SERVER['REMOTE_USER']