update final for sandframework site-web with git-folder download
This commit is contained in:
parent
c0ab3e31ad
commit
2f89c46410
2222 changed files with 276304 additions and 130 deletions
|
|
@ -15,6 +15,8 @@ class Modular
|
|||
|
||||
$this->app = $appName;
|
||||
switch ($type) {
|
||||
case "gitlist":
|
||||
break;
|
||||
case "symfony":
|
||||
break;
|
||||
case "wordpress":
|
||||
|
|
@ -91,9 +93,12 @@ class Modular
|
|||
public function load($type = "symfony")
|
||||
{
|
||||
switch ($type) {
|
||||
case "gitlist":
|
||||
require MODULES_PATH . DIRECTORY_SEPARATOR . $this->getAppName() . DIRECTORY_SEPARATOR . "index.php";
|
||||
break;
|
||||
case "symfony":
|
||||
require MODULES_PATH . DIRECTORY_SEPARATOR . $this->getAppName() . DIRECTORY_SEPARATOR . "public" . DIRECTORY_SEPARATOR . "index.php";
|
||||
break;
|
||||
require MODULES_PATH . DIRECTORY_SEPARATOR . $this->getAppName() . DIRECTORY_SEPARATOR . "public" . DIRECTORY_SEPARATOR . "index.php";
|
||||
break;
|
||||
case "wordpress":
|
||||
require MODULES_PATH . DIRECTORY_SEPARATOR . $this->getAppName() . $this->subapp_dir . DIRECTORY_SEPARATOR . $this->subfile;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue