Ignore:
Timestamp:
Apr 26, 2006 11:24:39 PM (18 years ago)
Author:
scdev
Message:

Q - Upgraded module_maker

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1dev/bin/module_maker/module.cli.php

    r90 r109  
    258258echo "Generating admin form table rows...\n";
    259259$output = array();
    260 exec(dirname($_SERVER['argv'][0]) . "/form_template.cli.php $db_tbl", $output, $return_val);
     260exec(dirname($_SERVER['argv'][0]) . "/form_template.cli.php " . COMMON_BASE . " $db_tbl", $output, $return_val);
    261261if ($return_val == 0) {
    262262    $search['adm_form_table_rows'] = '/%ADM_FORM_TABLE_ROWS%/';
     
    268268echo "Generating admin list table header rows...\n";
    269269$output = array();
    270 exec(dirname($_SERVER['argv'][0]) . "/list_template.cli.php $db_tbl headerrows", $output, $return_val);
     270exec(dirname($_SERVER['argv'][0]) . "/list_template.cli.php " . COMMON_BASE . "  $db_tbl headerrows", $output, $return_val);
    271271if ($return_val == 0) {
    272272    $search['adm_list_header_rows'] = '/%ADM_LIST_HEADER_ROWS%/';
     
    278278echo "Generating admin list table rows...\n";
    279279$output = array();
    280 exec(dirname($_SERVER['argv'][0]) . "/list_template.cli.php $db_tbl listrows", $output, $return_val);
     280exec(dirname($_SERVER['argv'][0]) . "/list_template.cli.php " . COMMON_BASE . "  $db_tbl listrows", $output, $return_val);
    281281if ($return_val == 0) {
    282282    $search['adm_list_rows'] = '/%ADM_LIST_ROWS%/';
     
    288288echo "Generating sortorder...\n";
    289289$output = array();
    290 exec(dirname($_SERVER['argv'][0]) . "/sql.cli.php $db_tbl sortorder", $output, $return_val);
     290exec(dirname($_SERVER['argv'][0]) . "/sql.cli.php " . COMMON_BASE . "  $db_tbl sortorder", $output, $return_val);
    291291if ($return_val == 0) {
    292292    $search['sort_order'] = '/%SORT_ORDER%/';
     
    298298echo "Generating insert data...\n";
    299299$output = array();
    300 exec(dirname($_SERVER['argv'][0]) . "/sql.cli.php $db_tbl insert", $output, $return_val);
     300exec(dirname($_SERVER['argv'][0]) . "/sql.cli.php " . COMMON_BASE . "  $db_tbl insert", $output, $return_val);
    301301if ($return_val == 0) {
    302302    $search['insert'] = '/%INSERT%/';
     
    308308echo "Generating update data...\n";
    309309$output = array();
    310 exec(dirname($_SERVER['argv'][0]) . "/sql.cli.php $db_tbl update", $output, $return_val);
     310exec(dirname($_SERVER['argv'][0]) . "/sql.cli.php " . COMMON_BASE . "  $db_tbl update", $output, $return_val);
    311311if ($return_val == 0) {
    312312    $search['update'] = '/%UPDATE%/';
     
    318318echo "Generating search data...\n";
    319319$output = array();
    320 exec(dirname($_SERVER['argv'][0]) . "/sql.cli.php $db_tbl search", $output, $return_val);
     320exec(dirname($_SERVER['argv'][0]) . "/sql.cli.php " . COMMON_BASE . "  $db_tbl search", $output, $return_val);
    321321if ($return_val == 0) {
    322322    $search['search'] = '/%SEARCH%/';
     
    328328echo "Generating form validation data...\n";
    329329$output = array();
    330 exec(dirname($_SERVER['argv'][0]) . "/validation.cli.php $db_tbl", $output, $return_val);
     330exec(dirname($_SERVER['argv'][0]) . "/validation.cli.php " . COMMON_BASE . " $db_tbl", $output, $return_val);
    331331if ($return_val == 0) {
    332332    $search['form_validation'] = '/%FORM_VALIDATION%/';
Note: See TracChangeset for help on using the changeset viewer.