Skip to content

Commit 6e0e404

Browse files
Merge pull request #32 from niteeshkanna-sh/claude/stoic-rubin-fnglq7
Move the admin panel to the repository root
2 parents f3d7f31 + 7d6d8cd commit 6e0e404

59 files changed

Lines changed: 8 additions & 8 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/deploy-admin.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ jobs:
149149
username: ${{ secrets.FTP_USERNAME }}
150150
password: ${{ secrets.FTP_PASSWORD }}
151151
protocol: ftps
152-
local-dir: ./public_html/admin.niteshacars.in/admin/
152+
local-dir: ./admin/
153153
server-dir: ${{ steps.panel.outputs.dir }}
154154
dry-run: ${{ github.event_name == 'workflow_dispatch' && inputs.dry_run }}
155155

‎.github/workflows/deploy-hostinger.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,12 @@ jobs:
173173
fi
174174
175175
.github/scripts/write-admin-config.sh \
176-
public_html/admin.niteshacars.in/admin/config.php
176+
admin/config.php
177177
178178
# Proves it parses before it is uploaded. A config.php with a syntax
179179
# error takes the whole panel down and says nothing about why.
180180
if command -v php >/dev/null 2>&1; then
181-
php -l public_html/admin.niteshacars.in/admin/config.php
181+
php -l admin/config.php
182182
else
183183
echo "No php on the runner; skipping the syntax check."
184184
fi
@@ -190,7 +190,7 @@ jobs:
190190
username: ${{ secrets.FTP_USERNAME }}
191191
password: ${{ secrets.FTP_PASSWORD }}
192192
protocol: ftps
193-
local-dir: ./public_html/admin.niteshacars.in/admin/
193+
local-dir: ./admin/
194194
server-dir: ./admin/
195195
dry-run: ${{ github.event_name == 'workflow_dispatch' && inputs.dry_run }}
196196

‎.gitignore‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ yarn-error.log*
2424

2525
# Live admin panel config. Holds real database credentials and must never be
2626
# committed; config.sample.php is the template to copy on a new server.
27-
public_html/admin.niteshacars.in/admin/config.php
27+
admin/config.php

public_html/admin.niteshacars.in/admin/.htaccess renamed to admin/.htaccess

File renamed without changes.

public_html/admin.niteshacars.in/admin/README.md renamed to admin/README.md

public_html/admin.niteshacars.in/admin/SECURITY.md renamed to admin/SECURITY.md

public_html/admin.niteshacars.in/admin/admin.css renamed to admin/admin.css

File renamed without changes.

public_html/admin.niteshacars.in/admin/admin.js renamed to admin/admin.js

File renamed without changes.

public_html/admin.niteshacars.in/admin/api.js renamed to admin/api.js

File renamed without changes.

public_html/admin.niteshacars.in/admin/api/bookings.php renamed to admin/api/bookings.php

File renamed without changes.

0 commit comments

Comments
 (0)