$cmsdam_path = "/home/dino/projects/cmsdam"; chdir($cmsdam_path); define ("CMSDAM_CLIENT", "cmsdamc - 0.1 alfa"); /* if ($argc != 2 || in_array($argv[1], array('--help', '-help', '-h', '-?'))) { ?> Usage: echo $argv[0]; ?> can be some word you would like to print out. With the --help, -help, -h, or -? options, you can get this help. } else { echo $argv[1]; } */ require ($cmsdam_path . "/" . "index.php"); $cms->general->cmsdam_ob_clean(); echo "DEBUG: " . $cms->templates->template_filename("home", "it") . "\n"; ?>