Home › Forums › Back End › PHP Include Question › Reply To: PHP Include Question
September 5, 2013 at 5:53 am
#149143
Participant
just learning how to create php from scratch again. released done index php wrong.
This is new code working on for index.php
<?php
// for use in development mode
error_reporting(E_ALL);
define('BASE_PATH', dirname(realpath(__FILE__)) . '/');
define('CATALOG_PATH', BASE_PATH . '/catalog');
echo CATALOG_PATH;
?>