* 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 = 'd';
$longoptions = array('delete');
}
} else {
print "Already set.\n";
- exit(-1);
+ exit(0);
}
} else {
if (have_option('d', 'delete')) { // Delete
print "No such tag.\n";
- exit(-1);
+ exit(0);
} else {
$tags[] = $tag;
$result = $sn->setTags($tags);