function __construct($path_to_manifest) { self::$manifest = new DOMDocument(); self::$path_to_manifest_folder = dirname($path_to_manifest); self::log_action('Proccess start'); self::log_action('Load the manifest file: ' . $path_to_manifest); if (!self::$manifest->load($path_to_manifest)) { self::log_action('Cannot load the manifest file: ' . $path_to_manifest, true); } }