Added PHP config checks to setup.php
This commit is contained in:
parent
cf3f90ce52
commit
dc6239e749
|
@ -5,6 +5,13 @@
|
|||
|
||||
</head>
|
||||
<body>
|
||||
<?php
|
||||
if (ini_get('file_uploads') != 1) {
|
||||
echo '<div align="center"><h1><font color="FF0000">Warning: Your PHP configuration has disabled file uploads</font><h1><h3>Please check your <b><u>php.ini</u></b> for the line:</h3><i>file_uploads = On</i></div><br><br>';
|
||||
}
|
||||
|
||||
echo '<div align="center"><b><u>php.ini</u></b> specifies your server\'s <i>maximum upload filesize</i> as:<b> '.ini_get('upload_max_filesize').'</b></div><br>';
|
||||
?>
|
||||
<div align="center">
|
||||
<h1>IMPORTANT:</h1>
|
||||
<h2>Delete this file <i>immediately</i> after completing set-up</h2><br />
|
||||
|
|
Loading…
Reference in a new issue