• File: class.duparchive.constants.php
  • Full Path: /home/chassiw/www/wp-content/plugins/duplicator/lib/dup_archive/classes/class.duparchive.constants.php
  • File size: 749 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

if(!class_exists('DupArchiveConstants')) {
class DupArchiveConstants
{
    public static $DARoot;
    public static $LibRoot;
	public static $MaxFilesizeForHashing;

    public static function init() {

        self::$LibRoot = dirname(__FILE__).'/../../';
        self::$DARoot = dirname(__FILE__).'/../';
		self::$MaxFilesizeForHashing = 1000000000;
    }
}

DupArchiveConstants::init();
}

if(!class_exists('DupArchiveExceptionCodes')) {
class DupArchiveExceptionCodes
{
    const NonFatal = 0;
    const Fatal = 1;
}
}