Disable chartdir

This commit is contained in:
Michael RICOIS 2016-07-29 10:12:44 +02:00
parent dd72a5d082
commit 23095d28c9

View File

@ -99,12 +99,13 @@ then
# --- ChartDirector # --- ChartDirector
if [ ! -f /usr/lib/php5/20121212/chartdir.lic ] if [ ! -f /usr/lib/php5/20121212/chartdir.lic ]
then then
sudo cp -R $DIRDATA/ChartDirector/lib/fonts /usr/lib/php5/20121212/ #sudo cp -R $DIRDATA/ChartDirector/lib/fonts /usr/lib/php5/20121212/
sudo cp $DIRDATA/ChartDirector/lib/libchartdir.so /usr/lib/php5/20121212/ #sudo chown -R 777 /usr/lib/php5/20121212/fonts
sudo cp $DIRDATA/ChartDirector/lib/phpchartdir550.dll /usr/lib/php5/20121212/ #sudo cp $DIRDATA/ChartDirector/lib/libchartdir.so /usr/lib/php5/20121212/
sudo cp $DIRDATA/ChartDirector/chartdir.lic /usr/lib/php5/20121212/ #sudo cp $DIRDATA/ChartDirector/lib/phpchartdir550.dll /usr/lib/php5/20121212/
sudo cp $DIRDATA/ChartDirector/chartdir.ini /etc/php5/mods-available/ #sudo cp $DIRDATA/ChartDirector/chartdir.lic /usr/lib/php5/20121212/
sudo php5enmod chartdir #sudo cp $DIRDATA/ChartDirector/chartdir.ini /etc/php5/mods-available/
#sudo php5enmod chartdir
fi fi
fi fi