\r
class wsPackagerSCORM extends wsPackagerHTML\r
{\r
- public function __construct($book_id, $vdir = null, $whole = true)\r
- {\r
- parent::__construct($book_id, $vdir, $whole);\r
- $this->version = 'scorm';\r
- $this->_forceOnlyHtml = true;\r
- $this->_disableScorm = false;\r
- }\r
+ public function __construct($book_id, $vdir = null, $whole = true)\r
+ {\r
+ parent::__construct($book_id, $vdir, $whole);\r
+ $this->version = 'scorm';\r
+ $this->_forceOnlyHtml = true;\r
+ $this->_disableScorm = false;\r
+ }\r
+\r
+ protected function preparePackage()\r
+ {\r
+ $res = parent::preparePackage();\r
+ $manifests = $this->vdir . '/m/data/links/*/imsmanifest.xml';\r
+ $cmd = "rm $manifests";\r
+ `$cmd`;\r
+ return $res;\r
+ }\r
}
\ No newline at end of file