parser

Написать ответ на текущее сообщение

 

 
   команды управления поиском

Содержимое файла auto.p, который в cgi-bin

Holmes 10.04.2003 17:06

^if(def $exception.source){
<b>$exception.source</b><br>
<pre>^untaint[html]{$exception.file^($exception.lineno^)}</pre>
}
^if(def $exception.type){exception.type=$exception.type}
^if($stack){
<hr>
^stack.menu{
<tt>$stack.name</tt> $stack.file^($stack.lineno^)<br>
}
}

]

@unhandled_exception_release[exception;stack]
^fatal_error[Unhandled Exception;

<p>The server encountered an unhandled exception
and was unable to complete your request.</p>
<p>Please contact the server administrator, $env:SERVER_ADMIN
and inform them of the time the error occurred,
and anything you might have done that may have caused the error.</p>
<p>More information about this error may be available in the Parser error log
or in debug version of unhandled_exception.</p>

]

@unhandled_exception[exception;stack]
^unhandled_exception_release[$exception;$stack]

@auto[]
#source/client charsets
$request:charset[windows-1251]
$response:charset[windows-1251]

$response:content-type[
$.value[text/html]
$.charset[$response:charset]
]

#$SQL.connect-string[mysql://user:pass@host/db?charset=cp1251_koi8]
#$SQL.connect-string[pgsql://user:pass@host/db]
#$SQL.connect-string[oracle://user:pass@service?NLS_LANG=RUSSIAN_AMERICA.CL8MSWIN1251&NLS_DATE_FORMAT=YYYY-MM-DD HH24:MI:SS]