Include php file from another folder in php file

I am trying to include php file “Submission_SpecialIssue_Type_Values.php”:

<?php $templateMgr->assign('conf_names',array('Normal','VBC','BSM','Paleo')); ?>

into php file.
When files are in the same folder, It works.
But when it in upper folder, and i try code like this:
include_once(’…/Submission_SpecialIssue_Type_Values.php’);
it doesn’t work. What am i doing wrong?

Made that way:
include_once(pathinfo($_SERVER[‘SCRIPT_FILENAME’])[‘dirname’].’/lib/pkp/classes/submission/Submission_SpecialIssue_Type_Values.php’);

Hi vasmed,

Try with the import function, in that case, it would be something like:

import(‘lib.pkp.classes.submission.Submission_SpecialIssue_Type_Values’);

Thanks, ovilla, i’ve tried it before and now but it doesn’t work. It also doesn’t work if i add an “inc” before php. Maybe because content of “Submission_SpecialIssue_Type_Values.php” isn’t a class.