Revision 59
Added by stefan about 20 years ago
| class.wb.php | ||
|---|---|---|
| 30 | 30 |
This class is the basis for admin and frontend classes. |
| 31 | 31 |
|
| 32 | 32 |
*/ |
| 33 |
require_once(WB_PATH.'/framework/class.database.php'); |
|
| 34 |
|
|
| 33 | 35 |
|
| 34 | 36 |
class wb |
| 35 | 37 |
{
|
| ... | ... | |
| 39 | 41 |
// set global database variable |
| 40 | 42 |
global $database; |
| 41 | 43 |
// Create database class |
| 42 |
require_once(WB_PATH.'/framework/class.database.php'); |
|
| 43 | 44 |
$database = new database(); |
| 44 | 45 |
$this->database = $database; |
| 45 | 46 |
|
Also available in: Unified diff
Fixed missing parent option 'none' - ticket #12 - and a minor scope bug.