~ubuntu-branches/ubuntu/raring/steam/raring

« back to all changes in this revision

Viewing changes to tools/export

  • Committer: Bazaar Package Importer
  • Author(s): Alain Schroeder
  • Date: 2005-05-14 16:33:35 UTC
  • Revision ID: james.westby@ubuntu.com-20050514163335-z3sy43m3u81mzny4
Tags: 1.6.3-1
* Depend on pstotext and html2text. It is needed for the fulltext search.
* New Upstream
  * Several Wiki fixes (encoding, etc.)
  * DocumentFactory: Fix duplication of objects
  * Fixed Search Service (do not crash upon any query)
  * Various E-mail fixes (send through webinterface)
  * config dir no longer world readable
  * some startup fixes
  * fixed configuration file issues
* Patches from CVS:
  * fix more crashes in the search
  * recognize https links in the wiki
  * make sure security log file exists
  * wiki now works with empty documents

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/pike7.4
 
2
int main(int argc, array argv)
 
3
{
 
4
    master()->add_program_path("../server");
 
5
    master()->add_include_path("../server/include");
 
6
    master()->add_module_path("../server/libraries");
 
7
  
 
8
    add_constant("find_object", find_object);
 
9
 
 
10
    object e = ((program)"export.pike")();
 
11
    e->main(argc, argv); 
 
12
}
 
13
//pike -P /home/astra/coreserver/server -I ../server/include export.pike $*
 
14
 
 
15
static object oInstall;
 
16
 
 
17
object find_object(int id)
 
18
{
 
19
    if ( objectp(oInstall) )
 
20
        oInstall->find_object(id);
 
21
    return 0;
 
22
}