PHP Classes

File: doctor

Recommend this page to a friend!
  Classes of Aldo Tripiciano   Quanta CMS   doctor   Download  
File: doctor
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Quanta CMS
Manage content that works without a database
Author: By
Last change:
Date: 5 years ago
Size: 291 bytes
 

Contents

Class file image Download
#!/usr/bin/env php <?php if (empty($argv[1])) { die("Please enter a Quanta target / host, and a doctor command\n(i.e. doctor mysite.com check)\n"); } $host = $argv[1]; $doctor_cmd = $argv[2]; $request_uri = '/doctor/'; $docroot = getenv('PWD'); include 'engine/boot.php';