Changeset 1727
- Timestamp:
- 08/30/08 23:28:40 (3 months ago)
- Files:
-
- 1 modified
-
branches/3.4/test.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.4/test.php
r1706 r1727 42 42 switch ($_REQUEST['action']) { 43 43 case 'config': 44 $ampache_path = dirname(__FILE__);45 $prefix = realpath($ampache_path . "/../");46 44 $configfile = "$prefix/config/ampache.cfg.php"; 47 45 48 46 // 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))) { 50 48 require_once $prefix . '/templates/show_test.inc.php'; 51 49 break; 52 50 } 53 54 51 require_once $prefix . '/templates/show_test_config.inc.php'; 55 52 break;
