summaryrefslogtreecommitdiffstats
path: root/src/data.php
diff options
context:
space:
mode:
authorMaksymilian Jopek <maks@jopek.eu>2023-02-25 19:06:54 +0100
committerMaksymilian Jopek <maks@jopek.eu>2023-03-26 20:04:17 +0200
commit19218d758d4fc0f8f5db5a97eb9dcfdb5086f844 (patch)
tree9a5e956cd6561e7d1919e19e5d080c69017763c2 /src/data.php
parent3df4ebc26d93afed16670e37edb26aa3b5a17317 (diff)
downloadmlos-19218d758d4fc0f8f5db5a97eb9dcfdb5086f844.tar.gz
mlos-19218d758d4fc0f8f5db5a97eb9dcfdb5086f844.tar.zst
mlos-19218d758d4fc0f8f5db5a97eb9dcfdb5086f844.zip
Remove path from repo
Add start script
Diffstat (limited to 'src/data.php')
-rw-r--r--src/data.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data.php b/src/data.php
index aaf9d88..1028a8f 100644
--- a/src/data.php
+++ b/src/data.php
@@ -6,7 +6,7 @@ function get_node_value($from, string $name): string
function get_doc(): DOMDocument
{
$doc = new DOMDocument();
- $path = "/home/maks/school/clientApps/mlos/src/db.xml";
+ $path = "%PWD%src/db.xml";
$doc->load($path);
return $doc;
}