summaryrefslogtreecommitdiffstats
path: root/endpoints/lib
diff options
context:
space:
mode:
authortom077 <thomas.pochetat@wanadoo.fr>2018-01-03 00:54:06 +0100
committerGitHub <noreply@github.com>2018-01-03 00:54:06 +0100
commitedd124a908ab2a6e9bd1e36d11c2e745f3f5d934 (patch)
treedb6778b7b481441e359f786aab03caf25157883a /endpoints/lib
parent2ea0f0efa0d97829b103469ca7d21dbd6a0d3a7d (diff)
downloadphpvirtualbox-edd124a908ab2a6e9bd1e36d11c2e745f3f5d934.zip
phpvirtualbox-edd124a908ab2a6e9bd1e36d11c2e745f3f5d934.tar.gz
phpvirtualbox-edd124a908ab2a6e9bd1e36d11c2e745f3f5d934.tar.bz2
MySQL.php : php comments fixed
Diffstat (limited to 'endpoints/lib')
-rw-r--r--endpoints/lib/auth/MySQL.php23
1 files changed, 12 insertions, 11 deletions
diff --git a/endpoints/lib/auth/MySQL.php b/endpoints/lib/auth/MySQL.php
index c23346c..bf7caf6 100644
--- a/endpoints/lib/auth/MySQL.php
+++ b/endpoints/lib/auth/MySQL.php
@@ -21,17 +21,18 @@
*/
- /**
- struct of db:
- CREATE TABLE users(
- username VARCHAR(20) PRIMARY KEY,
- password VARCHAR(40),
- admin ENUM('0','1') DEFAULT '0'
- )ENGINE=InnoDB;
-
- INSERT INTO users(username,password,admin)
- VALUES("admin","$1$65CMtT1M$GSDBTEZ6o5Web.4cDL6rz1",'1'); /*user:admin, pass:admin*/
-
+/**
+ * struct of db:
+ * CREATE TABLE users(
+ * username VARCHAR(20) PRIMARY KEY,
+ * password VARCHAR(40),
+ * admin ENUM('0','1') DEFAULT '0'
+ * )ENGINE=InnoDB;
+ *
+ * user:admin, pass:admin
+ * INSERT INTO users(username,password,admin)
+ * VALUES("admin","$1$65CMtT1M$GSDBTEZ6o5Web.4cDL6rz1",'1')
+ *
*/
class phpvbAuthMySQL implements phpvbAuth
{