added comments and config line for include_path, which is important for install
inc/finish.php, inc/init.php
adjusted how globals were set up
tried working with non-global db/tpl but it was not scalable so it was switched back
faq.php, index.php, developers/index.php
smarty -> tpl
lib/addon.class.php
proper constructor now in place
lib/amo.class.php
object definition for all basic objects
sets up tpl,db globals for use in all extending classes
addon.php
home page for an addon
item.php
too generic, nuked it
git-svn-id: svn://10.0.0.236/trunk@176188 18797224-902f-48f8-a5cc-f745e15eee43
6 lines
74 B
PHP
6 lines
74 B
PHP
<?php
|
|
$foo = new AddOn();
|
|
print_r($foo->getAddOn(10));
|
|
$foo->finish();
|
|
?>
|