diff --git a/homepage/cwsvJudo/configs/heliohost/config.json b/homepage/cwsvJudo/configs/heliohost/config.json new file mode 100644 index 0000000..1ed5bc7 --- /dev/null +++ b/homepage/cwsvJudo/configs/heliohost/config.json @@ -0,0 +1,9 @@ +{ + "cwsvJudo": { + "db": { + "host": "localhost", + "name": "cwsvjudo_main", + "user": "cwsvjudo_marko" + } + } +} \ No newline at end of file diff --git a/homepage/cwsvJudo/configs/heliohost/secrets.json b/homepage/cwsvJudo/configs/heliohost/secrets.json new file mode 100644 index 0000000..aecb80c --- /dev/null +++ b/homepage/cwsvJudo/configs/heliohost/secrets.json @@ -0,0 +1,7 @@ +{ + "cwsvJudo": { + "db": { + "cwsvjudo_marko": "kodokan" + } + } +} \ No newline at end of file diff --git a/homepage/cwsvJudo/src/pages/test/config.php b/homepage/cwsvJudo/src/pages/test/config.php new file mode 100644 index 0000000..e806b98 --- /dev/null +++ b/homepage/cwsvJudo/src/pages/test/config.php @@ -0,0 +1,2 @@ +setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); + echo "Connected successfully"; +} catch(PDOException $e) { + echo "Connection failed: " . $e->getMessage(); +} \ No newline at end of file