BUG 11603 "Please consider include 'special' pages..." SOLVED
- Please consider include "special" pages layout to the SKIN. - Problema resuelto, se han customizado las interfaces "error404" y "updating", ahora estan disponibles en los skins "neoclassic" y "classic". Se ha validado esta interfaz en los skins, de no existir los templates en un determinado skin, automaticamente utilizara el template del skin "classic". * Available from version ProcessMaker-2.5.2-testing.1
This commit is contained in:
@@ -5161,7 +5161,7 @@ class G
|
||||
return $url;
|
||||
}
|
||||
|
||||
public static function skinGetPathToSrcByVirtualUri($option)
|
||||
public static function skinGetPathToSrcByVirtualUri($option, $sysConf)
|
||||
{
|
||||
$path = "";
|
||||
$ereg = "";
|
||||
@@ -5187,7 +5187,6 @@ class G
|
||||
if (isset($_SESSION["currentSkin"])) {
|
||||
$skin = $_SESSION["currentSkin"];
|
||||
} else {
|
||||
$sysConf = System::getSystemConfiguration(PATH_CONFIG . "env.ini");
|
||||
|
||||
if (isset($sysConf["default_skin"])) {
|
||||
$skin = $sysConf["default_skin"];
|
||||
|
||||
@@ -326,8 +326,8 @@ spl_autoload_register(array("Bootstrap", "autoloadClass"));
|
||||
Bootstrap::registerClass("G", PATH_GULLIVER . "class.g.php");
|
||||
Bootstrap::registerClass("System", PATH_HOME . "engine/classes/class.system.php");
|
||||
|
||||
$skinPathErrors = G::skinGetPathToSrcByVirtualUri("errors");
|
||||
$skinPathUpdate = G::skinGetPathToSrcByVirtualUri("update");
|
||||
$skinPathErrors = G::skinGetPathToSrcByVirtualUri("errors", $config);
|
||||
$skinPathUpdate = G::skinGetPathToSrcByVirtualUri("update", $config);
|
||||
|
||||
// defining Virtual URLs
|
||||
$virtualURITable = array ();
|
||||
|
||||
Reference in New Issue
Block a user