## Install 1. Create a MySQL database and user 2. Import phpauth.sql (located in the PHPAuth folder) into the database 3. Update **($db)** in PHPAuth/config.php to connect to the database 4. Change *$enabled* to true in PHPAuth/config.php to enable authentication ## Admin Go to /PHPAuth/admin, and log in. Default username: applied-streetview Default password: applied-streetview ## Protect a PHP file This is not necessary for the player. All php files are protected already. For additional files: Add `require_once("PHPAuth/check.php");` into the beginning of the PHP file. "PHPAuth/check.php" is a relative path from the player directory, either provide a full path to the file or a proper relative path. ## Upgrade If your Player version is equal or below 0.1.18 a MySQL need to be manually applied to fix a bug in statistics. ```sql ALTER TABLE stats MODIFY COLUMN pano VARCHAR(100); ```