форум vBSupport.ru > Камчатка > Pocket PC vBulletin.net.ru
  • »
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
 
 
 
 
implode
Простоузер
Default Обработка стандартных ошибок php
0

Каким образом в vb осуществляется скрытие полного пути при выводе стандартной ошибки php? Например:
Quote:
Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in [path]/includes/vbenterprisetranslator_functions.php on line 148
Пните в нужном направлении.
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
kerk
k0t
 
kerk's Avatar
Default
0

PHP Code:
function vb_error_handler($errno$errstr$errfile$errline
PHP Code:
$errfile str_replace(DIR'[path]'$errfile);
$errstr str_replace(DIR'[path]'$errstr);
echo 
"<br /><strong>Warning</strong>: $errstr in <strong>$errfile</strong> on line <strong>$errline</strong><br />"
 
 
implode
Простоузер
Default
0

Да нет, речь не о функции шла. Там, оказывается, используется буферизация, нашел уже поиском по файлам.
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +4. The time now is 03:55 PM.


Powered by vBulletin® Version 3.5.8
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Loading...