Jump to content

Mapping Directory


Cardale

Recommended Posts

I wanted to make a bunch of constants to map my directory, but didn't know how I should do it.  So I figured I would post what I had so far and see if anyone else had a better idea.

 

$locate['Core'] = 'core';
$locate['Core']['Database'] = 'database';
$locate['Core']['Language'] = 'language';
$locate['Core']['Error'] = 'error';
$locate['Core']['Template'] = 'template';

Link to comment
https://forums.phpfreaks.com/topic/77100-mapping-directory/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.