#!/bin/bash

if [ -f /usr/bin/ParseDico ];then
    #EOLE 2.3
    . ParseDico
    . /etc/eole/containers.conf
else
    #EOLE 2.4
    activer_iconito=$(CreoleGet activer_iconito non)
    container_path_web=$(CreoleGet container_path_web non)
fi
    
if [ "$activer_iconito" == "oui" ]
then
	# Purge du Cache
	find $container_path_web/var/www/html/iconito/temp/cache/php -name "*.php" -delete
fi
exit 0
