[SCRIPTS] Make them work in v2 by setting PUBLICDIR
This commit is contained in:
@@ -17,7 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
|
||||
define('INSTALLDIR', dirname(__DIR__));
|
||||
define('PUBLICDIR', INSTALLDIR . DIRECTORY_SEPARATOR . 'public');
|
||||
|
||||
$shortoptions = 'i:n:f:a:j';
|
||||
$longoptions = array('id=', 'nickname=', 'file=', 'after=', 'json');
|
||||
|
Reference in New Issue
Block a user