install 465 B

12345678910111213141516171819202122
  1. <?php
  2. require_once(dirname(__FILE__).'/VocalInfo.class.php');
  3. $table = new VocalInfo();
  4. $table->create();
  5. $s1 = New Section();
  6. $s1->setLabel('vocal');
  7. $s1->save();
  8. $r1 = New Right();
  9. $r1->setSection($s1->getId());
  10. $r1->setRead('1');
  11. $r1->setDelete('1');
  12. $r1->setCreate('1');
  13. $r1->setUpdate('1');
  14. $r1->setRank('1');
  15. $r1->save();
  16. $conf = new Configuration();
  17. $conf->put('plugin_vocalinfo_woeid','615702');
  18. $conf->put('plugin_vocalinfo_place','Paris France');
  19. ?>