andom-tec changes
This commit is contained in:
@@ -51,7 +51,12 @@ function pascalToSnakeCase(string $str): string {
|
||||
|
||||
$vueTagName = pascalToSnakeCase($vueViewName);
|
||||
|
||||
include(realpath(dirname(__FILE__) . "/../../$mfLayoutPackage") . "/vueHeader.php"); ?>
|
||||
$vueHeaderPath = realpath(dirname(__FILE__) . "/../../$mfLayoutPackage") . "/vueHeader.php";
|
||||
if(!file_exists($vueHeaderPath)) {
|
||||
$vueHeaderPath = realpath(dirname(__FILE__) . "/../../default") . "/vueHeader.php";
|
||||
}
|
||||
|
||||
include($vueHeaderPath); ?>
|
||||
|
||||
|
||||
<div id="app">
|
||||
|
||||
Reference in New Issue
Block a user