Quantcast
Viewing all articles
Browse latest Browse all 30

$sodapop->loadApp()

loadApp() builds the path to the requested app, and then loads it up by requiring the apps lead file.

Location: class.sodapop.php

public function loadApp() {
$appPath =   "./apps/" . 
     $this->pageData['getApp'] . 
"/" . 
$this->pageData['getApp'] . 
".php";
require_once $appPath;
$output = $appController->output($this);
return $output;
}

Viewing all articles
Browse latest Browse all 30

Trending Articles