You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: public/index.php
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
<?php
2
-
require_once"../userfrosting/initialize.php";
2
+
// This if-block just checks that the path for initialize.php is correct. Remove this once you know what you're doing.
3
+
if (!file_exists("../userfrosting/initialize.php")){
4
+
echo"<h2>We can't seem to find our way to initialize.php! Please check the require_once statement at the top of index.php, and make sure it contains the correct path to initialize.php.</h2><br>";
5
+
}
6
+
7
+
// This is the path to initialize.php, your site's gateway to the rest of the UF codebase! Make sure that it is correct!
0 commit comments