Closed GoogleCodeExporter closed 8 years ago
<?php define('DB_HOST', 'localhost'); define('DB_USER', 'root'); define('DB_PASSWORD', ''); define('DB_NAME', 'osclass_db'); define('DB_TABLE_PREFIX', 'oc_'); $f = str_replace( "\\", "/", __FILE__ ); // para que funcione en Windows if( preg_match( "|^(.*[\\/])([^\\/]+-?)$|", $f, $matches ) ) { $PATH_BASE = $matches[1] ; } define('PATH_BASE', $PATH_BASE) ; //DIR_NAME ha de salir del installer... define('DIR_NAME', 'osclass') ; define('WEB_PATH', 'http://' . $_SERVER['HTTP_HOST'] . '/' . DIR_NAME) ; ?>
Original issue reported on code.google.com by danielgs on 18 Jan 2010 at 11:51
danielgs
The proposal was reviewed and discarded.
Original comment by santiago...@gmail.com on 23 Jan 2010 at 11:22
santiago...@gmail.com
Original comment by santiago...@gmail.com on 2 Apr 2010 at 1:44
Original issue reported on code.google.com by
danielgs
on 18 Jan 2010 at 11:51