1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| "; echo "
Please make sure that you have renamed admin/config/gen_inc.php to gen_inc_back.php. Replace the generated gen_inc.php with that gen_inc_back.php after the upgrade is complete!
"; $lUpgrade=1; } /* if (file_exists("admin/db.php") AND !isset($level)) { echo "
Information
The program seems to already be installed, since databasefile db.inc.php already exists! Installer will now exit due to security reasons.
If you would like to run the installer again, delete or remove db.inc.php (/admin/db.inc.php).
"; exit; }*/ echo "
"; while ($counter<4) { $counter++; $cur_level=getParam("level",""); if ($cur_level==$counter) $str.= ""; $str.= "Step " . $counter . " >> "; if ($cur_level==$counter) $str.= ""; } $str=substr($str,0,-15); echo $str; echo "
"; // Directory to install the program info. This is correct in most cases // If you get a warning, you can set it manually, like this (without ending slash/): // Example: $dir = "/home/USERS/public_html/classifieds"; $dir = getcwd (); if (!$dir) { $dir = dirname($SCRIPT_FILENAME); } if (!$dir) { print "
Error
PHP did not report the full path to this program through either its inbuilt getCwd() and Direname() command. You need to set this path manually in install.php script in order to continue, and you will have to correct the path suggested in varios text-fields displayed later in this install-program. If so, you should be ok.
"; exit; } ?> |
Partager