-
-
Notifications
You must be signed in to change notification settings - Fork 436
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing files to pub/default/ and allow errors skin to be overrid…
…den in pub/*/index.php file.
- Loading branch information
1 parent
2d953ba
commit b060eb3
Showing
6 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
// | ||
// This file is the entrypoint for the default OpenMage store. | ||
// Create a separate subdirectory of pub/ to add more virtual hosts for different stores | ||
// with different root directories and assign the run code and run type variables below as appropriate. | ||
// | ||
|
||
chdir(dirname(__DIR__, 2)); | ||
|
||
require 'api.php'; |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
|
||
chdir(dirname(__DIR__, 2)); | ||
|
||
require 'get.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
chdir(dirname(__DIR__, 2)); | ||
|
||
if (file_exists('app/etc/local.xml')) { | ||
require 'errors/404.php'; | ||
} else { | ||
require 'install.php'; | ||
} |