diff options
author | 2009-07-10 14:09:00 -0400 | |
---|---|---|
committer | 2009-07-10 14:09:00 -0400 | |
commit | 06ab593e5dd40df96f79179a68ba8f3d7c70033a (patch) | |
tree | 75f4d351328893b2cf7f6f9e74951409212ac576 /frontend/classes/module.php | |
parent | Finished porting package selection to new wizard format - everything works again (diff) | |
download | ingenue-06ab593e5dd40df96f79179a68ba8f3d7c70033a.tar.gz ingenue-06ab593e5dd40df96f79179a68ba8f3d7c70033a.tar.bz2 ingenue-06ab593e5dd40df96f79179a68ba8f3d7c70033a.zip |
Made bundling finished images separate from modules in backend; added metadata for frontend modules; added default config options and simplified config file; added verbose output to update_gentoo_profiles.php; etc.
Diffstat (limited to 'frontend/classes/module.php')
-rw-r--r-- | frontend/classes/module.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/frontend/classes/module.php b/frontend/classes/module.php new file mode 100644 index 0000000..8971c42 --- /dev/null +++ b/frontend/classes/module.php @@ -0,0 +1,12 @@ +<?php +class module { + var $id, $name, $steps, $dir; + function __construct($id) { + $this->id=$id; + require(FRONTEND."/modules/$id.info"); + $this->name=$name; + $this->steps=$steps; + $this->dir=FRONTEND.'/modules/'.$dir; + } +} +?> |