1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
<?php /* #### Installer PHP 1.5 #### #### Author: Kay Vogelgesang & Carsten Wiedmann for www.apachefriends.org 2005 #### */
/// Where I stand? /// $curdir = getcwd(); list($partition, $nonpartition) = preg_split ("/:/", $curdir); //Fix by Wiedmann $partwampp = substr(realpath(__FILE__), 0, strrpos(dirname(realpath(__FILE__)), '\\')); $directorwampp = NULL; $awkpart = str_replace("&", "\\\\&", eregi_replace ("\\\\", "\\\\", $partwampp)); //Fix by Wiedmann $awkpartslash = str_replace("&", "\\\\&", ereg_replace ("\\\\", "/", $partwampp)); //Fix by Wiedmann $phpdir = $partwampp; $dir = ereg_replace("\\\\", "/", $partwampp); $ppartition = "$partition:";
/// I need the install.sys + update.sys for more xampp informations $installsys = "install.sys"; $installsysroot = $partwampp."\install\\".$installsys;
/// Some addon|update.sys files $perlupdatesys = "perlupdate.sys"; $pythonupdatesys = "pythonupdate.sys"; $serverupdatesys = "serverupdate.sys"; $utilsupdatesys = "utilsupdate.sys"; $javaupdatesys = "javaupdate.sys"; $otherupdatesys = "otherupdate.sys";
/// XAMPP main directrory is ... $substit = "\\\\\\\\xampp"; $substitslash = "/xampp";
/// Globale variables $BS = 0; $CS = 0; $slashi = 1; $bslashi = 1; $awkexe = ".\install\awk.exe"; $awk = ".\install\config.awk"; $awknewdir = "\"".$awkpart."\""; $awkslashdir = "\"".$awkpartslash."\""; if (file_exists("$partwampp\htdocs\\xampp\.version")) { $handle = fopen("$partwampp\htdocs\\xampp\.version","r"); $xamppversion = fgets($handle); fclose($handle); } else { $xamppversion = ""; // include_once "$partwampp\install\.version"; } echo "\r\n ########################################################################\n"; echo " # ApacheFriends XAMPP setup win32 Version #\r\n"; echo " #----------------------------------------------------------------------#\r\n"; echo " # Copyright (c) 2002-2009 Apachefriends $xamppversion #\r\n"; echo " #----------------------------------------------------------------------#\r\n"; echo " # Authors: Kay Vogelgesang <kvo@apachefriends.org> #\r\n"; echo " # Carsten Wiedmann <webmaster@wiedmann-online.de> #\r\n"; echo " ########################################################################\r\n\r\n";
?>
|