use ZipArchive; */ // Setting WebClientPrint WebClientPrint::$licenseOwner = ''; WebClientPrint::$licenseKey = ''; //IMPORTANT SETTINGS: //=================== //Set ABSOLUTE URL to WebClientPrint.php file WebClientPrint::$webClientPrintAbsoluteUrl = Utils::getRoot() . '/scolav2/webClientPrint/WebClientPrint.php'; //Set wcpcache folder RELATIVE to WebClientPrint.php file //FILE WRITE permission on this folder is required!!! WebClientPrint::$wcpCacheFolder = '../wpcache'; //=================== // Clean built-in Cache // NOTE: Remove it if you implement your own cache system WebClientPrint::cacheClean(30); //in minutes // Process request $urlParts = parse_url($_SERVER['REQUEST_URI']); if (isset($urlParts['query'])) { if (Utils::strContains($urlParts['query'], WebClientPrint::WCP)) { WebClientPrint::processRequest($urlParts['query']); } } /** * WebClientPrint provides functions for registering the "WebClientPrint for PHP" solution * script code in PHP web pages as well as for processing client requests and managing the * internal cache. * * @author Neodynamic <http://neodynamic.com/support> * @copyright (c) 2013, Neodynamic SRL