Skip to content

Wallos: Open-source, self-hostable personal subscription tracker. Visualize your recurring expenses, manage your budget, and save money.

fix: verify correct path before creating logos folder

Miguel Ribeiro782ebcd64fc9
diff --git a/README.md b/README.md
index 8f717ac..148dcb4 100644
--- a/README.md
+++ b/README.md
@@ -21,10 +21,11 @@ Wallos: Open-Source Personal Subscription Tracker
- [Docker](#docker-1)
- [Docker-Compose](#docker-compose)
- [Usage](#usage)
+- [Screenshots](#screenshots)
+- [API Documentation](#api-documentation)
- [Contributing](#contributing)
- [Contributors](#contributors)
- [Translations](#translations)
-- [Screenshots](#screenshots)
- [License](#license)
- [Links](#links)
@@ -156,6 +157,10 @@ If you want to trigger an Update of the exchange rates, change your main currenc
![Screenshot](screenshots/wallos-dashboard-mobile-light.png) ![Screenshot](screenshots/wallos-dashboard-mobile-dark.png)
+## API Documentation
+
+Wallos provides a comprehensive API that allows you to interact with the application programmatically. The API documentation is available at [https://api.wallosapp.com/](https://api.wallosapp.com/).
+
## Contributing
Feel free to open Pull requests with bug fixes and features. I'll do my best to keep an eye on those.
diff --git a/endpoints/payments/add.php b/endpoints/payments/add.php
index 37d8144..2e301e6 100644
--- a/endpoints/payments/add.php
+++ b/endpoints/payments/add.php
@@ -4,7 +4,7 @@ require_once '../../includes/connect_endpoint.php';
require_once '../../includes/inputvalidation.php';
require_once '../../includes/getsettings.php';
-if (!file_exists('images/uploads/logos')) {
+if (!file_exists('../../images/uploads/logos')) {
mkdir('../../images/uploads/logos', 0777, true);
mkdir('../../images/uploads/logos/avatars', 0777, true);
}
diff --git a/endpoints/subscription/add.php b/endpoints/subscription/add.php
index 42934d0..753dc48 100644
--- a/endpoints/subscription/add.php
+++ b/endpoints/subscription/add.php
@@ -4,7 +4,7 @@ require_once '../../includes/connect_endpoint.php';
require_once '../../includes/inputvalidation.php';
require_once '../../includes/getsettings.php';
-if (!file_exists('images/uploads/logos')) {
+if (!file_exists('../../images/uploads/logos')) {
mkdir('../../images/uploads/logos', 0777, true);
mkdir('../../images/uploads/logos/avatars', 0777, true);
}
diff --git a/endpoints/user/save_user.php b/endpoints/user/save_user.php
index aa2bf41..9ed6443 100644
--- a/endpoints/user/save_user.php
+++ b/endpoints/user/save_user.php
@@ -2,7 +2,7 @@
require_once '../../includes/connect_endpoint.php';
require_once '../../includes/inputvalidation.php';
-if (!file_exists('images/uploads/logos')) {
+if (!file_exists('../../images/uploads/logos')) {
mkdir('../../images/uploads/logos', 0777, true);
mkdir('../../images/uploads/logos/avatars', 0777, true);
}
diff --git a/includes/version.php b/includes/version.php
index a2c44d9..6a16e17 100644
--- a/includes/version.php
+++ b/includes/version.php
@@ -1,3 +1,3 @@
<?php
-$version = "v2.30.0";
+$version = "v2.30.1";
?>
\ No newline at end of file