5 <title
>Upgrade Test CMS
</title
>
6 <mate name
="robots" content
="noindex, nofollow">
7 <link rel
="stylesheet" href
="assets/css/app.css">
11 <h1
><img src
="assets/img/logo.gif" alt
="Test CMS install logo"></h1
>
17 if(file_exists('../config.php') === false) {
18 $errors[] = 'Please run the install';
20 // note: on win the only way to really test is to try and write a new file to disk.
21 if(@file_put_contents
('../test.php', '<?php //test') === false) {
22 $errors[] = 'It looks like the root directory is not writable, Please make the root directory writable until the upgrade is complete.';
24 unlink('../test.php');
30 <?php
if(count($errors)): ?
>
35 <p
>Looks like we
've hit a problem.</p>
38 <?php foreach($errors as $error): ?>
39 <li><?php echo $error; ?></li>
43 <p><a href="index.php" class="button" style="float: none; display: inline-block;">Ok ive fixed these, start migration</a></p>
49 <h2>Upgrading Test CMS.</h2>
51 <p>Thank you for downloading the latest version of Test CMS.
52 To get you up and running we need to make a few changes to bring you up to date.</p>
54 <form action="run.php" method="post">
55 <button type="submit">Start migration</button>