Changeset 1031871
- Timestamp:
- 11/24/2014 03:22:28 PM (11 years ago)
- Location:
- afables/trunk
- Files:
-
- 4 edited
-
afables.php (modified) (1 diff)
-
inc/afables-install.php (modified) (2 diffs)
-
inc/afables-widget.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
afables/trunk/afables.php
r1031720 r1031871 5 5 Author: OhayoWeb 6 6 Author URI: http://www.ohayoweb.com/ 7 Version: 1.3 7 Version: 1.3.1 8 8 */ 9 9 10 10 11 define('AFABLES_PLUGIN_VERSION','1.3 ');11 define('AFABLES_PLUGIN_VERSION','1.3.1'); 12 12 define('AFABLES_USERAGENT','Afables Wordpress Plugin '.AFABLES_PLUGIN_VERSION); 13 13 -
afables/trunk/inc/afables-install.php
r1031720 r1031871 10 10 if(!file_exists(AFABLES_CACHE_FOLDER)){ 11 11 // creamos el directorio 12 if(mkdir(AFABLES_CACHE_FOLDER,0777)){ 12 //$oldumask = umask(0); 13 if(@mkdir(AFABLES_CACHE_FOLDER,0770)){ 13 14 $notices[]= "<div class='updated'><p>Directorio cache creado con éxito.</p></div>"; 14 15 … … 16 17 $notices[]= "<div class='error'><p>No se pudo crear el directorio <strong>".AFABLES_CACHE_FOLDER."</strong>.</p><p>Necesitara crearlo manualmente para el correcto funcionamiento del plugin.</p></div>"; 17 18 } 18 19 //umask($oldumask); 20 }else{ 21 if(@chmod(AFABLES_CACHE_FOLDER, 0770)){ 22 $notices[]= "<div class='updated'><p>Permisos cambiados con éxito.</p></div>"; 23 }else{ 24 $notices[]= "<div class='error'><p>No se pudieron cambiar los permisos del directorio <strong>".AFABLES_CACHE_FOLDER."</strong>.</p><p>Necesitara cambiarlos a 775 manualmente para el correcto funcionamiento del plugin.</p></div>"; 25 } 19 26 } 20 27 -
afables/trunk/inc/afables-widget.php
r1031720 r1031871 286 286 287 287 //include_once plugin_dir_path( __FILE__ ).'../rss-robot/inc/load_SimplePie.php'; 288 include_once plugin_dir_path( __FILE__ ).'load_SimplePie.php'; 288 //include_once plugin_dir_path( __FILE__ ).'load_SimplePie.php'; 289 require_once (ABSPATH . WPINC . '/class-simplepie.php'); 289 290 290 291 $channel_feed = new SimplePie(); -
afables/trunk/readme.txt
r1031720 r1031871 5 5 Tested up to: 3.9.1 6 6 License: GPLv2 or later 7 Stable tag: 1.3 7 Stable tag: 1.3.1 8 8 9 9 == Description ==
Note: See TracChangeset
for help on using the changeset viewer.