#!/usr/bin/php
<?php
-define('WEBURL', 'http://localhost/curl-de-sac');
+define('WEB_URL', 'http://localhost/curl-de-sac');
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;
if ($i == 2) {
printf("MAIN: load 'short'\n");
- if ($cds->execute("short", WEBURL.'/short.php') == FALSE) {
+ if ($cds->execute("short", WEB_URL.'/test/short.php') == FALSE) {
printf("MAIN: push 'short' command failed\n");
exit(123);
}
if ($i == 3) {
printf("MAIN: load 'short'\n");
- if ($cds->execute("short", WEBURL.'/short.php') == FALSE) {
+ if ($cds->execute("short", WEB_URL.'/test/short.php') == FALSE) {
printf("MAIN: push 'short' command failed\n");
exit(123);
}
if ($i == 4) {
printf("MAIN: load 'long'\n");
- if ($cds->execute("long", WEBURL.'/long.php') == FALSE) {
+ if ($cds->execute("long", WEB_URL.'/test/long.php') == FALSE) {
printf("MAIN: push 'long' command failed\n");
exit(123);
}