REDROOM
PHP 8.1.33
Path:
Logout
Edit File
Size: 2.20 KB
Close
/home/jambtst2015/public_html/ckfinder/core/connector/php/php4/ErrorHandler/Base.php
Text
Base64
<?php /* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. */ if (!defined('IN_CKFINDER')) exit; /** * @package CKFinder * @subpackage ErrorHandler * @copyright CKSource - Frederico Knabben */ /** * Basic error handler * * @package CKFinder * @subpackage ErrorHandler * @copyright CKSource - Frederico Knabben */ class CKFinder_Connector_ErrorHandler_Base { /** * Try/catch emulation, if set to true, error handler will not throw any error * * @var boolean * @access protected */ var $_catchAllErrors = false; /** * Array with error numbers that should be ignored * * @var array[]int * @access protected */ var $_skipErrorsArray = array(); /** * Set whether all errors should be ignored * * @param boolean $newValue * @access public */ function setCatchAllErros($newValue) { $this->_catchAllErrors = $newValue ? true : false; } /** * Set which errors should be ignored * * @param array $newArray */ function setSkipErrorsArray($newArray) { if (is_array($newArray)) { $this->_skipErrorsArray = $newArray; } } /** * Throw connector error, return true if error has been thrown, false if error has been catched * * @param int $number * @param string $text * @access public */ function throwError($number, $text = false) { if ($this->_catchAllErrors || in_array($number, $this->_skipErrorsArray)) { return false; } $_xml =& CKFinder_Connector_Core_Factory::getInstance("Core_Xml"); $_xml->raiseError($number,$text); exit; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
Base.php
2.20 KB
lrw-r--r--
2024-11-22 17:53:11
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
FileUpload.php
2.65 KB
lrw-r--r--
2024-11-22 17:53:11
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Http.php
2.19 KB
lrw-r--r--
2024-11-22 17:53:11
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
QuickUpload.php
2.92 KB
lrw-r--r--
2024-11-22 17:53:11
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).