projects
/
curl-de-sac.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated TODO.txt
[curl-de-sac.git]
/
webtest
/
cds_test01.php
diff --git
a/webtest/cds_test01.php
b/webtest/cds_test01.php
index
f3ea61d
..
8183449
100755
(executable)
--- a/
webtest/cds_test01.php
+++ b/
webtest/cds_test01.php
@@
-1,10
+1,10
@@
#!/usr/bin/php
<?php
#!/usr/bin/php
<?php
-define('WEBURL', 'http://localhost/curl-de-sac');
+define('WEB
_
URL', 'http://localhost/curl-de-sac');
define('DBG_LEVEL', 0);
define('DBG_LEVEL', 0);
-require_once('Obj/curl-de-sac.phh');
+require_once('
../
Obj/curl-de-sac.phh');
class short_cmd extends CDS_cmd {
var $short_data;
class short_cmd extends CDS_cmd {
var $short_data;
@@
-196,7
+196,7
@@
function main()
if ($i == 2) {
printf("MAIN: load 'short'\n");
if ($i == 2) {
printf("MAIN: load 'short'\n");
- if ($cds->execute("short", WEB
URL.'
/short.php') == FALSE) {
+ if ($cds->execute("short", WEB
_URL.'/test
/short.php') == FALSE) {
printf("MAIN: push 'short' command failed\n");
exit(123);
}
printf("MAIN: push 'short' command failed\n");
exit(123);
}
@@
-204,7
+204,7
@@
function main()
if ($i == 3) {
printf("MAIN: load 'short'\n");
if ($i == 3) {
printf("MAIN: load 'short'\n");
- if ($cds->execute("short", WEB
URL.'
/short.php') == FALSE) {
+ if ($cds->execute("short", WEB
_URL.'/test
/short.php') == FALSE) {
printf("MAIN: push 'short' command failed\n");
exit(123);
}
printf("MAIN: push 'short' command failed\n");
exit(123);
}
@@
-212,7
+212,7
@@
function main()
if ($i == 4) {
printf("MAIN: load 'long'\n");
if ($i == 4) {
printf("MAIN: load 'long'\n");
- if ($cds->execute("long", WEB
URL.'
/long.php') == FALSE) {
+ if ($cds->execute("long", WEB
_URL.'/test
/long.php') == FALSE) {
printf("MAIN: push 'long' command failed\n");
exit(123);
}
printf("MAIN: push 'long' command failed\n");
exit(123);
}