We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52001cf commit 37b746fCopy full SHA for 37b746f
setup/src/Magento/Setup/Model/ApplicationStatus.php
@@ -0,0 +1,29 @@
1
+<?php
2
+/**
3
+ * Copyright © 2015 Magento. All rights reserved.
4
+ * See COPYING.txt for license details.
5
+ */
6
+
7
+namespace Magento\Setup\Model;
8
9
10
+ * Class ApplicationStatus
11
+ * Returns status of application
12
13
+class ApplicationStatus
14
+{
15
+ /**
16
+ * Path to Magento config
17
18
+ const PATH_TO_CONFIG = '/app/etc/config.php';
19
20
21
22
+ *
23
+ * @return bool
24
25
+ public function isApplicationInstalled()
26
+ {
27
+ return file_exists(BP . self::PATH_TO_CONFIG);
28
+ }
29
+}
0 commit comments