Skip to content

Commit 5a8b4d0

Browse files
authored
Merge pull request #260 from AMTuttle02/feat-183_ModularizeEachWebpage
Feat 183 modularize each webpage
2 parents 3d9e79b + 90bed54 commit 5a8b4d0

File tree

653 files changed

+601
-40673
lines changed

Some content is hidden

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

653 files changed

+601
-40673
lines changed

.gitignore

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ TODOs.md
1717
.eslintcache
1818
.env
1919
previousProd
20-
PHP/src/secrets.php
21-
PHP/src/prodSecrets.php
22-
PHP/src/testSecrets.php
20+
API/src/secrets.php
21+
API/src/prodSecrets.php
22+
API/src/testSecrets.php
23+
API/src/images/
24+
API/src/vendor/
25+
New Rebrand Designs
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
require_once 'secrets.php';
2+
require_once '../secrets.php';
33

44
$servername = SERVER;
55
$user = MYSQL_USER;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
header("Access-Control-Allow-Headers: X-Requested-With");
55
header('Access-Control-Allow-Headers: Origin, Content-Type');
66

7-
require_once 'secrets.php';
7+
require_once '../secrets.php';
88

99
session_start();
1010

11-
include 'conn.php';
11+
include '../admin/conn.php';
1212

1313
// Create new user account
1414
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
header('Access-Control-Allow-Headers: Origin, Content-Type');
66
header('Content-Type: application/json');
77

8-
include 'conn.php';
8+
include '../admin/conn.php';
99

1010
// Create new user account
1111
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
header('Access-Control-Allow-Headers: Origin, Content-Type');
66
header('Content-Type: application/json');
77

8-
include 'conn.php';
8+
include '../admin/conn.php';
99

1010
// Create new user account
1111
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
@@ -42,6 +42,7 @@
4242
$row = $result->fetch_assoc();
4343
if ($row['customerFilename']) {
4444
$file_path .= $row['customerFilename'];
45+
echo(json_encode("File Path: " . $file_path));
4546
}
4647
else {
4748
$file_path = "";

0 commit comments

Comments
 (0)