31,029
edits
| Line 57: | Line 57: | ||
</source> | </source> | ||
This will create objects $db, $lang and $user. | This will create objects $db, $lang and $user. | ||
If we want that actions (create, update), are tagged with a particular user as the create/update user, you must do after the include of master.inc.php and before | If we want that actions (create, update), are tagged with a particular user as the create/update user, you must do after the include of master.inc.php and before calling the create or update method | ||
<source lang="php"> | <source lang="php"> | ||
$user->fetch('loginuser'); | $user->fetch('loginuser'); | ||
</source> | </source> | ||