reference the config file without relying on working directory
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
require_once('common_config.php');
|
||||
require_once(__DIR__.'/common_config.php');
|
||||
if(!extension_loaded('pdo_mysql')){
|
||||
die($I['pdo_mysqlextrequired']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user