mirror of
https://github.com/mosbth/cimage.git
synced 2025-01-17 11:08:14 +01:00
change name of all-in-one-file to imgs.php #73
This commit is contained in:
parent
3452ea1908
commit
bc4e04c3cb
@ -280,6 +280,7 @@ Revision history
|
||||
|
||||
v0.6.x (latest)
|
||||
|
||||
* Change name of script all-in-one to `webrrot/imgs.php` #73.
|
||||
* Combine all code into one singel script, `webroot/img_single.php` #73.
|
||||
* Disallow hotlinking/leeching by configuration #46.
|
||||
* Alias-name is without extension #47.
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
# Paths and settings
|
||||
#
|
||||
TARGET="webroot/img_single.php"
|
||||
TARGET="webroot/imgs.php"
|
||||
NEWLINES="\n\n\n"
|
||||
|
||||
|
||||
@ -29,7 +29,7 @@ fi
|
||||
#
|
||||
# Print out details on cache-directory
|
||||
#
|
||||
$ECHO "Creating webroot/img_single.php by combining the following files:"
|
||||
$ECHO "Creating '$TARGET' by combining the following files:"
|
||||
$ECHO "\n"
|
||||
$ECHO "\n webroot/img_single_header.php"
|
||||
$ECHO "\n CHttpGet.php"
|
||||
|
@ -12,10 +12,17 @@
|
||||
/**
|
||||
* Change configuration details in the array below or create a separate file
|
||||
* where you store the configuration details. Name the config file same name as
|
||||
* this file and add '_config.php'. If this file is named 'img.php' then name the
|
||||
* this file and add '_config.php'. If this file is named 'img.php' then name the
|
||||
* config file '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(
|
||||
|
||||
//'image_path' => __DIR__ . '/img/',
|
||||
//'cache_path' => __DIR__ . '/../cache/',
|
||||
//'alias_path' => __DIR__ . '/img/alias/',
|
||||
//'remote_allow' => true,
|
||||
//'password' => false, // "secret-password",
|
||||
|
||||
);
|
||||
|
@ -14,10 +14,17 @@
|
||||
* where you store the configuration details. Name the config file same name as
|
||||
* this file and add '_config.php'. If this file is named 'img.php' then name the
|
||||
* config file '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(
|
||||
|
||||
//'image_path' => __DIR__ . '/img/',
|
||||
//'cache_path' => __DIR__ . '/../cache/',
|
||||
//'alias_path' => __DIR__ . '/img/alias/',
|
||||
//'remote_allow' => true,
|
||||
//'password' => false, // "secret-password",
|
||||
|
||||
);
|
||||
|
||||
|
||||
@ -3832,3 +3839,6 @@ $img->log("Incoming arguments: " . print_r(verbose(), 1))
|
||||
->save()
|
||||
->linkToCacheFile($aliasTarget)
|
||||
->output();
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user