silverstripe-installer/install.php

17 lines
964 B
PHP
Raw Normal View History

<?php
/************************************************************************************
************************************************************************************
** **
** If you can read this text in your browser then you don't have PHP installed. **
2017-06-27 14:27:40 +02:00
** Please install PHP 5.6.0 or higher. **
** **
************************************************************************************
************************************************************************************/
2017-10-02 16:19:23 +02:00
if (!file_exists(__DIR__ . '/vendor/silverstripe/framework') || !file_exists(__DIR__ . '/vendor/silverstripe/framework/_config.php')) {
include 'install-frameworkmissing.html';
2016-08-30 04:35:44 +02:00
} else {
2017-10-02 14:44:14 +02:00
include './vendor/silverstripe/framework/src/Dev/Install/install.php';
2016-08-30 04:35:44 +02:00
}