Changeset 1727 for branches/3.4/test.php

Show
Ignore:
Timestamp:
08/30/08 23:28:40 (4 months ago)
Author:
vollmerk
Message:

wrong prefix

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/3.4/test.php

    r1706 r1727  
    4242switch ($_REQUEST['action']) {  
    4343        case 'config':  
    44                 $ampache_path = dirname(__FILE__); 
    45                 $prefix = realpath($ampache_path . "/../"); 
    4644                $configfile = "$prefix/config/ampache.cfg.php"; 
    4745 
    4846                // On every load of the config file check and see if it's working now 
    49                 if (count(parse_ini_file($configfile)) { 
     47                if (count(parse_ini_file($configfile))) { 
    5048                        require_once $prefix . '/templates/show_test.inc.php'; 
    5149                        break; 
    5250                } 
    53  
    5451                require_once $prefix . '/templates/show_test_config.inc.php';  
    5552        break;