Changeset 79195 in spip-zone
- Timestamp:
- Dec 6, 2013, 9:31:48 AM (7 years ago)
- Location:
- _plugins_/adaptive_images/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/adaptive_images/trunk/lib/AdaptiveImages/AdaptiveImages.php
r79194 r79195 3 3 * AdaptiveImages 4 4 * 5 * @version 1.1. 05 * @version 1.1.1 6 6 * @copyright 2013 7 7 * @author Nursit … … 171 171 */ 172 172 static public function getInstance() { 173 $class_name = get_called_class();173 $class_name = (function_exists("get_called_class")?get_called_class():"AdaptiveImages"); 174 174 if(!array_key_exists($class_name, self::$instances)) { 175 175 self::$instances[$class_name] = new $class_name(); -
_plugins_/adaptive_images/trunk/lib/AdaptiveImages/README.md
r79194 r79195 9 9 10 10 PHP>=5.1 with GD library 11 (if PHP<5.3.0 extending `AdaptiveImages` also needs to override method `getInstance()`) 11 12 12 13 … … 47 48 If this is not the case in your URL scheme, you can override the 2 methods `URL2filepath` and `filepath2URL` that are used to make transpositions. 48 49 49 In the following example we transpose absolutes URLs to relative file system path and, if defined we add special domain _ADAPTIVE_IMAGES_DOMAINto file path in the final URL (domain sharding)50 In the following example we transpose absolutes URLs to relative file system path and, if defined we add special domain `_ADAPTIVE_IMAGES_DOMAIN` to file path in the final URL (domain sharding) 50 51 51 52 <pre> -
_plugins_/adaptive_images/trunk/paquet.xml
r79194 r79195 2 2 prefix="adaptive_images" 3 3 categorie="multimedia" 4 version="1.4. 0"4 version="1.4.1" 5 5 etat="stable" 6 6 compatibilite="[3.0.0;3.0.*]"
Note: See TracChangeset
for help on using the changeset viewer.