note 108584 deleted from features.commandline.webserver by danbrown
| From: | danbrown@php.net | Date: | Thu, 10 May 2012 16:41:53 +0000 |
| Subject: | note 108584 deleted from features.commandline.webserver by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-187581@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
"If you choose to put your index.php in as the router, then your
index.php should be cli-server aware:
<?php
if (php_sapi_name() == 'cli-server') {
/* route static assets and return false */
}
/* go on with normal index.php operations */"
(Via Ralph Schindler)