Commit cb17a1f4 authored by Uma's avatar Uma
Browse files

Merge with master

parents 1843cdb3 b18b104a
Loading
Loading
Loading
Loading
+19 −3
Original line number Diff line number Diff line
@@ -167,7 +167,7 @@ class PEAR
     * @access public
     * @return void
     */
    function PEAR($error_class = null)
	function __construct($error_class = null)
    {
        $classname = strtolower(get_class($this));
        if ($this->_debug) {
@@ -191,6 +191,13 @@ class PEAR
            }
        }
    }
    function PEAR($error_class = null)
    {
        // PHP4-style constructor.
        // This will NOT be invoked, unless a sub-class that extends `foo` calls it.
        // In that case, call the new-style constructor to keep compatibility.
        self::__construct($error_class);
    }

    // }}}
    // {{{ destructor
@@ -842,7 +849,7 @@ class PEAR_Error
     * @access public
     *
     */
    function PEAR_Error($message = 'unknown error', $code = null,
    function __construct($message = 'unknown error', $code = null,
                        $mode = null, $options = null, $userinfo = null)
    {
        if ($mode === null) {
@@ -900,6 +907,15 @@ class PEAR_Error
            eval('$e = new Exception($this->message, $this->code);throw($e);');
        }
    }
    function PEAR_Error($message = 'unknown error', $code = null,
                        $mode = null, $options = null, $userinfo = null)
    {
		// PHP4-style constructor.
        // This will NOT be invoked, unless a sub-class that extends `foo` calls it.
        // In that case, call the new-style constructor to keep compatibility.
        self::__construct($message, $code,$mode, $options, $userinfo);
        
    }

    // }}}
    // {{{ getMode()
+4 −4
Original line number Diff line number Diff line
@@ -30,15 +30,15 @@ class VtigerConfig {

	static function get($key, $defvalue='') {
		if (self::has($key)) {
			global $$key;
			return $$key;
			global ${$key};
			return ${$key};
		}
		return $defvalue;
	}

	static function has($key) {
		global $$key;
		return (isset($$key));
		global ${$key};
		return (isset(${$key}));
	}

	static function getOD($key, $defvalue='') {
+3 −3
Original line number Diff line number Diff line
@@ -119,9 +119,6 @@ $list_max_entries_per_page = '20';
// history_max_viewed default value = 5
$history_max_viewed = '5';

// default_module default value = Home
$default_module = 'Home';

// default_action default value = index
$default_action = 'index';

@@ -178,5 +175,8 @@ if(isset($default_timezone) && function_exists('date_default_timezone_set')) {
//Set the default layout 
$default_layout = 'v7';

//Maximiun scheduled workflows default value set to 10
$max_scheduled_workflows = 10;

include_once 'config.security.php';
?>

cron/.htaccess

0 → 100644
+1 −0
Original line number Diff line number Diff line
deny from all
+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ class PHPMailer
     * The character set of the message.
     * @var string
     */
    public $CharSet = 'iso-8859-1';
    public $CharSet = 'UTF-8';

    /**
     * The MIME Content-type of the message.
Loading