DooPHP IRC channel
roman wrote:I had put request method defined for the router, and the request was get.
<?php
error_reporting(E_ALL | E_STRICT);
date_default_timezone_set('America/Chicago');
//framework use, must defined, user full absolute path and end with / eg. /var/www/project/
$config['SITE_PATH'] = str_replace('protected\config', '', str_replace('protected/config', '', dirname(__FILE__)));
$config['BASE_PATH'] = $config['SITE_PATH'].'dooframework/';
$config['APP_MODE'] = 'dev'; //for production mode use 'prod'
$config['SUBFOLDER'] = '/issuetracker/';
$config['APP_URL'] = 'http://'.$_SERVER['HTTP_HOST'].$config['SUBFOLDER'];
$config['AUTOROUTE'] = TRUE;
$config['DEBUG_ENABLED'] = TRUE;
?>Users browsing this forum: No registered users and 1 guest