Subversion Repositories oidplus

Rev

Rev 380 | Rev 511 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 380 Rev 444
Line 43... Line 43...
43
$table_names = array('objects', 'asn1id', 'iri', 'ra', 'config', 'log', 'log_user', 'log_object');
43
$table_names = array('objects', 'asn1id', 'iri', 'ra', 'config', 'log', 'log_user', 'log_object');
44
foreach ($table_names as $table) {
44
foreach ($table_names as $table) {
45
        $cont = $slang_plugin->setupSetTablePrefix($cont, $table, $prefix);
45
        $cont = $slang_plugin->setupSetTablePrefix($cont, $table, $prefix);
46
}
46
}
47
 
47
 
48
if (php_sapi_name() != 'cli') {
48
if (PHP_SAPI != 'cli') {
49
        header('Content-Type:text/sql');
49
        header('Content-Type:text/sql');
50
        header('Content-Disposition: inline; filename="struct_with_examples.sql"');
50
        header('Content-Disposition: inline; filename="struct_with_examples.sql"');
51
}
51
}
52
 
52
 
53
if (!empty($database)) {
53
if (!empty($database)) {