<?php
if(!defined('OSTSCPINC') || !$thisstaff || !$thisstaff->isAdmin()) die('Access Denied');
?>
<div id="upgrader">
    <br>
    <h2 style="color:#FF7700;"><?php echo __('Configuration file rename required!');?></h2>
    <div id="main">
            <div id="intro">
             <p><?php echo __('To avoid possible conflicts, please take a minute to rename configuration file as shown below.');?></p>
            </div>
            <h3><?php echo __('Solution');?>:</h3>
            <?php echo __('Rename file <b>include/settings.php</b> to <b>include/ost-config.php</b> and click continue below.');?>
            <ul>
                <li><b><?php echo __('CLI');?>:</b><br><i>mv include/settings.php include/ost-config.php</i></li>
                <li><b><?php echo __('FTP');?>:</b><br> </li>
                <li><b><?php echo __('Cpanel');?>:</b><br> </li>
            </ul>
            <p><?php echo sprintf(__('Please refer to the %1$s Upgrade Guide %2$s for more information.'), '<a target="_blank" href="https://docs.osticket.com/en/latest/Getting%20Started/Upgrade%20and%20Migration.html">', '</a>');?></p>
            <div id="bar">
                <form method="post" action="upgrade.php">
                    <?php csrf_token(); ?>
                    <input type="hidden" name="s" value="prereq">
                    <input class="btn" type="submit" name="submit" value="<?php echo __('Continue');?> &raquo;">
                </form>
            </div>
    </div>
    <div class="sidebar">
            <h3><?php echo __('Need Help?');?></h3>
            <p>
            <?php echo __('If you are looking for a greater level of support, we provide <u>professional upgrade</u> and commercial support with guaranteed response times and access to the core development team. We can also help customize osTicket or even add new features to the system to meet your unique needs. <a target="_blank" href="https://osticket.com/support">Learn More!</a>'); ?>
            </p>
    </div>
    <div class="clear"></div>
</div>
