/home/erikas/ftp/upload/site/wp-content/themes/tailorie/vendor/illuminate/view/Factory.php
$this->finder->find($view);
} catch (InvalidArgumentException $e) {
return false;
}
return true;
}
/**
* Get the appropriate view engine for the given path.
*
* @param string $path
* @return \Illuminate\Contracts\View\Engine
*
* @throws \InvalidArgumentException
*/
public function getEngineFromPath($path)
{
if (! $extension = $this->getExtension($path)) {
throw new InvalidArgumentException("Unrecognized extension in file: {$path}.");
}
$engine = $this->extensions[$extension];
return $this->engines->resolve($engine);
}
/**
* Get the extension used by the view file.
*
* @param string $path
* @return string|null
*/
protected function getExtension($path)
{
$extensions = array_keys($this->extensions);
return Arr::first($extensions, function ($value) use ($path) {
return Str::endsWith($path, '.'.$value);
});
Arguments
"Unrecognized extension in file: /home/erikas/ftp/upload/site."
/home/erikas/ftp/upload/site/wp-content/themes/tailorie/vendor/illuminate/view/Factory.php
*
* @param mixed $data
* @return array
*/
protected function parseData($data)
{
return $data instanceof Arrayable ? $data->toArray() : $data;
}
/**
* Create a new view instance from the given arguments.
*
* @param string $view
* @param string $path
* @param \Illuminate\Contracts\Support\Arrayable|array $data
* @return \Illuminate\Contracts\View\View
*/
protected function viewInstance($view, $path, $data)
{
return new View($this, $this->getEngineFromPath($path), $view, $path, $data);
}
/**
* Determine if a given view exists.
*
* @param string $view
* @return bool
*/
public function exists($view)
{
try {
$this->finder->find($view);
} catch (InvalidArgumentException $e) {
return false;
}
return true;
}
/**
/home/erikas/ftp/upload/site/wp-content/themes/tailorie/vendor/illuminate/view/Factory.php
$this->finder = $finder;
$this->events = $events;
$this->engines = $engines;
$this->share('__env', $this);
}
/**
* Get the evaluated view contents for the given view.
*
* @param string $path
* @param \Illuminate\Contracts\Support\Arrayable|array $data
* @param array $mergeData
* @return \Illuminate\Contracts\View\View
*/
public function file($path, $data = [], $mergeData = [])
{
$data = array_merge($mergeData, $this->parseData($data));
return tap($this->viewInstance($path, $path, $data), function ($view) {
$this->callCreator($view);
});
}
/**
* Get the evaluated view contents for the given view.
*
* @param string $view
* @param \Illuminate\Contracts\Support\Arrayable|array $data
* @param array $mergeData
* @return \Illuminate\Contracts\View\View
*/
public function make($view, $data = [], $mergeData = [])
{
$path = $this->finder->find(
$view = $this->normalizeName($view)
);
// Next, we will create the view instance and call the view creator for the view
// which can set any data, etc. Then we will return the view instance back to
/home/erikas/ftp/upload/site/wp-content/themes/tailorie/vendor/roots/acorn/src/helpers.php
* Get the evaluated view contents for the given view.
*
* @param string|null $view
* @param Arrayable|array $data
* @param array $mergeData
* @return View|ViewFactory
*
* @copyright Taylor Otwell
* @link https://github.com/laravel/framework/blob/8.x/src/Illuminate/Foundation/helpers.php
*/
function view($view = null, $data = [], $mergeData = [])
{
$factory = app(ViewFactory::class);
if (func_num_args() === 0) {
return $factory;
}
return $factory->exists($view)
? $factory->make($view, $data, $mergeData) : $factory->file($view, $data, $mergeData);
}
/**
* Initialize the Acorn bootloader.
*
* @param callable|null $callback
* @return void
*/
function bootloader($callback = null)
{
static $bootloader;
if (! $bootloader) {
$bootloader = new Bootloader();
}
if (is_callable($callback)) {
$bootloader->call($callback);
}
}
/home/erikas/ftp/upload/site/wp-content/themes/tailorie/index.php
<html <?php language_attributes(); ?>>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="preload" href="<?= get_template_directory_uri() ?>/public/fonts/Almond_YandiDesigns.woff2" as="font" crossorigin="anonymous">
<link rel="preload" href="<?= get_template_directory_uri() ?>/public/fonts/TT%20Commons%20DemiBold.woff" as="font" crossorigin="anonymous">
<link rel="preload" href="<?= get_template_directory_uri() ?>/public/fonts/TT%20Commons%20Regular.woff" as="font" crossorigin="anonymous">
<link rel="preload" href="<?= get_template_directory_uri() ?>/public/fonts/TT%20Commons%20Bold.woff" as="font" crossorigin="anonymous">
<link rel="preload" href="<?= get_template_directory_uri() ?>/public/fonts/TT%20Commons%20Medium.woff" as="font" crossorigin="anonymous">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<?php do_action('get_header'); ?>
<div id="app">
<?php echo \Roots\view(\Roots\app('sage.view'), \Roots\app('sage.data'))->render(); ?>
</div>
<?php do_action('get_footer'); ?>
<?php wp_footer(); ?>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-D02GQ0TPSR"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);} gtag('js', new Date());
gtag('config', 'G-D02GQ0TPSR');
</script>
</body>
</html>
/home/erikas/ftp/upload/site/wp-includes/template-loader.php
}
break;
}
}
if ( ! $template ) {
$template = get_index_template();
}
/**
* Filters the path of the current template before including it.
*
* @since 3.0.0
*
* @param string $template The path of the template to include.
*/
$template = apply_filters( 'template_include', $template );
if ( $template ) {
include $template;
} elseif ( current_user_can( 'switch_themes' ) ) {
$theme = wp_get_theme();
if ( $theme->errors() ) {
wp_die( $theme->errors() );
}
}
return;
}
Arguments
"/home/erikas/ftp/upload/site/wp-content/themes/tailorie/index.php"
/home/erikas/ftp/upload/site/wp-blog-header.php
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( ! isset( $wp_did_header ) ) {
$wp_did_header = true;
// Load the WordPress library.
require_once __DIR__ . '/wp-load.php';
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
Arguments
"/home/erikas/ftp/upload/site/wp-includes/template-loader.php"
/home/erikas/ftp/upload/site/index.php
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
Arguments
"/home/erikas/ftp/upload/site/wp-blog-header.php"