Replace function die (alias) by exit.

Signed-off-by: Mark Story <mark@mark-story.com>
This commit is contained in:
Juan Basso 2009-11-19 20:05:59 -02:00 committed by mark_story
parent 9b6b258fed
commit 1acc60b04c
6 changed files with 7 additions and 7 deletions

View file

@ -1,4 +1,4 @@
;<?php die() ?>
;<?php exit() ?>
; SVN FILE: $Id$
;/**
; * Short description for file.

View file

@ -66,7 +66,7 @@ if (!class_exists('File')) {
}
if (preg_match('|\.\.|', $url) || !preg_match('|^ccss/(.+)$|i', $url, $regs)) {
die('Wrong file name.');
exit('Wrong file name.');
}
$filename = 'css/' . $regs[1];
@ -74,7 +74,7 @@ if (!class_exists('File')) {
$cachepath = CACHE . 'css' . DS . str_replace(array('/','\\'), '-', $regs[1]);
if (!file_exists($filepath)) {
die('Wrong file name.');
exit('Wrong file name.');
}
if (file_exists($cachepath)) {

View file

@ -95,7 +95,7 @@ if (isset($corePath[0])) {
require_once CAKE_TESTS_LIB . 'test_manager.php';
if (Configure::read('debug') < 1) {
die(__('Debug setting does not allow access to this url.', true));
exit(__('Debug setting does not allow access to this url.', true));
}
if (!isset($_SERVER['SERVER_NAME'])) {

View file

@ -218,7 +218,7 @@ class Debugger extends Object {
}
if ($error == 'Fatal Error') {
die();
exit();
}
return true;
}

View file

@ -95,7 +95,7 @@ class DboOdbc extends DboSource {
$connect = 'odbc_connect';
}
if (!function_exists($connect)) {
die('no odbc?');
exit('no odbc?');
}
$this->connected = false;
$this->connection = $connect($config['database'], $config['login'], $config['password'], SQL_CUR_USE_ODBC);

View file

@ -1,4 +1,4 @@
;<?php die() ?>
;<?php exit() ?>
; SVN FILE: $Id$
;/**
; * Test App Ini Based Acl Config File