These are not called directly as programs but used in a library
fashion by the installed utilities. So the library directory
is a better place.
set(CUSTOMSCRIPTS
check_import_finished.php
country_languages.php
set(CUSTOMSCRIPTS
check_import_finished.php
country_languages.php
export.php
query.php
setup.php
export.php
query.php
setup.php
@define('CONST_LibDir', '@CMAKE_SOURCE_DIR@/lib');
@define('CONST_DataDir', '@CMAKE_SOURCE_DIR@');
@define('CONST_LibDir', '@CMAKE_SOURCE_DIR@/lib');
@define('CONST_DataDir', '@CMAKE_SOURCE_DIR@');
-require_once(CONST_BinDir.'/@script_source@');
+require_once(CONST_LibDir.'/admin/@script_source@');