mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-16 21:14:09 +02:00
adding phpdoc fix #48
This commit is contained in:
36
docs/api/files/webroot%2Fimg_header.php.txt
Normal file
36
docs/api/files/webroot%2Fimg_header.php.txt
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/**
|
||||
* Resize and crop images on the fly, store generated images in a cache.
|
||||
*
|
||||
* This version is a all-in-one version of img.php, it is not dependant an any other file
|
||||
* so you can simply copy it to any place you want it.
|
||||
*
|
||||
* @author Mikael Roos mos@dbwebb.se
|
||||
* @example http://dbwebb.se/opensource/cimage
|
||||
* @link https://github.com/mosbth/cimage
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Change configuration details in the array below or create a separate file
|
||||
* where you store the configuration details.
|
||||
*
|
||||
* The configuration file should be named the same name as this file and then
|
||||
* add '_config.php'. If this file is named 'img.php' then name the
|
||||
* config file should be named 'img_config.php'.
|
||||
*
|
||||
* The settings below are only a few of the available ones. Check the file in
|
||||
* webroot/img_config.php for a complete list of configuration options.
|
||||
*/
|
||||
$config = array(
|
||||
|
||||
//'mode' => 'production', // 'production', 'development', 'strict'
|
||||
//'image_path' => __DIR__ . '/img/',
|
||||
//'cache_path' => __DIR__ . '/../cache/',
|
||||
//'alias_path' => __DIR__ . '/img/alias/',
|
||||
//'remote_allow' => true,
|
||||
//'password' => false, // "secret-password",
|
||||
|
||||
);
|
||||
|
Reference in New Issue
Block a user