<?php /** * mpconf.php, MaximaPHP configuration file * * Configuration file for MaximaPHP. * * This file contains MaximaPHP configurations. * @author Bowo Prasetyo <http://www.my-tool.com/> * @version 0.1.3 * @package MaximaPHP */ /************************************************************** * * Copyright (C) 2007 Bowo Prasetyo * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation below, * * http://www.gnu.org/licenses/gpl.html#TOC1 * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * **************************************************************/ /** * Timeout for Maxima in seconds */ $maximaTimeout = 19; /** * Timeout for TtM in seconds */ $ttmTimeout = 19; /** * Path to Maxima wrapper with timeout control * should not be accessible from internet */ $maximaWithTimeout = 'YOUR_PATH/bin/_maxima_with_timeout_.pl'; /** * Path to Maxima program */ $maxima = "YOUR_PATH/bin/maxima"; /** * Path to TtM wrapper with timeout control * should not be accessible from internet */ $ttmWithTimeout = 'YOUR_PATH/bin/_ttm_with_timeout_.pl'; /** * Path to TtM program */ $ttm = "YOUR_PATH/bin/ttm"; /** * Directory of Gnuplot program */ $gnuplotDir = 'YOUR_PATH/bin'; /** * Temporary directory for Maxima to communicate with Gnuplot * should be writable by PHP and Maxima */ $maximaTempDir = 'YOUR_PATH/temp'; /** * Cache directory for Gnuplot to save PNGs output * should be writable by Gnuplot and accessible from internet */ $gnuplotPNGDir = 'YOUR_WEB_ROOT/png'; /** * URL path to cache directory for Gnuplot to save PNGs output */ $gnuplotPNGUrl = 'http://maximaphp.sourceforge.net/png'; /** * Base URL path to your MaximaPHP installation */ $baseUrl = 'http://maximaphp.sourceforge.net'; /** * Base Title of your MaximaPHP page */ $baseTitle = 'MaximaPHP'; ?>