pQmars/qcw-dev/standalone/admin index.php,1.8,1.9 admin.pl,1.6,NONE

0 views
Skip to first unread message

alexander sasha wait

unread,
Oct 10, 2005, 3:45:28 PM10/10/05
to alexan...@users.sourceforge.net
Update of /cvsroot/corewar/pQmars/qcw-dev/standalone/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31311/qcw-dev/standalone/admin

Modified Files:
index.php
Removed Files:
admin.pl
Log Message:
Moved */admin.pl to */bin/* and updated *.php to use "COREWORLD_BIN"


--- admin.pl DELETED ---

Index: index.php
===================================================================
RCS file: /cvsroot/corewar/pQmars/qcw-dev/standalone/admin/index.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** index.php 9 Oct 2005 21:30:50 -0000 1.8
--- index.php 10 Oct 2005 19:45:26 -0000 1.9
***************
*** 9,13 ****

$mysql_srv = $_SERVER['COREWORLD_MYSQL_SERVER'];
! putenv ("COREWORLD_MYSQL_SERVER=$mysql_srv");
$mysql_db = $_SERVER['COREWORLD_MYSQL_DB'];
putenv ("COREWORLD_MYSQL_DB=$mysql_db");
--- 9,13 ----

$mysql_srv = $_SERVER['COREWORLD_MYSQL_SERVER'];
! putenv ("COREWORLD_MYSQL_SERVER=$mysql_srv");
$mysql_db = $_SERVER['COREWORLD_MYSQL_DB'];
putenv ("COREWORLD_MYSQL_DB=$mysql_db");
***************
*** 16,23 ****
$mysql_pw = $_SERVER['COREWORLD_MYSQL_PASSWORD'];
putenv ("COREWORLD_MYSQL_PASSWORD=$mysql_pw");
!
! $path = $_SERVER['SCRIPT_FILENAME'];
! echo "<br>***path=$path***";

$value = $_GET['value'];
#echo "***$value***";
--- 16,26 ----
$mysql_pw = $_SERVER['COREWORLD_MYSQL_PASSWORD'];
putenv ("COREWORLD_MYSQL_PASSWORD=$mysql_pw");
! $qcw_bin = $_SERVER['COREWORLD_BIN'];
! putenv ("COREWORLD_BIN=$qcw_bin");

+ echo "***COREWORLD_MYSQL_SERVER=$mysql_srv***\n";
+ echo "***COREWORLD_BIN=$qcw_bin***\n";
+
+
$value = $_GET['value'];
#echo "***$value***";
***************
*** 37,43 ****
$admin = "admin.pl";
}
- #echo "***$admin***";

! $exec = preg_replace ('/index.*/', $admin, $path);
echo "<br>***exec=$exec***";

--- 40,45 ----
$admin = "admin.pl";
}

! $exec = $qcw_bin."/".$admin;
echo "<br>***exec=$exec***";


Reply all
Reply to author
Forward
0 new messages