cleanup: remove setup_config.php after use
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,22 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* Väliaikainen skripti — luo db_config.php palvelimelle.
|
|
||||||
* POISTA TÄMÄ HETI KÄYTÖN JÄLKEEN!
|
|
||||||
*/
|
|
||||||
$configFile = __DIR__ . '/db_config.php';
|
|
||||||
if (file_exists($configFile)) {
|
|
||||||
echo "db_config.php on jo olemassa!\n";
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
$config = "<?php\nreturn [\n"
|
|
||||||
. " 'host' => 'localhost',\n"
|
|
||||||
. " 'dbname' => 'noxusintra',\n"
|
|
||||||
. " 'username' => 'intradatabeissi',\n"
|
|
||||||
. " 'password' => 'Lqk!yo6Kn!jo2q5J',\n"
|
|
||||||
. " 'charset' => 'utf8mb4',\n"
|
|
||||||
. "];\n";
|
|
||||||
|
|
||||||
file_put_contents($configFile, $config);
|
|
||||||
echo "db_config.php luotu onnistuneesti!\n";
|
|
||||||
echo "POISTA setup_config.php heti!\n";
|
|
||||||
Reference in New Issue
Block a user