C:\xampp\htdocs\landing\wp-content\plugins\imagify\views\notice-backup-folder-not-writable.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
defined
'ABSPATH' ) || die( 'Cheatin’ uh?' );

$this->print_template'notice-header', array(
    
'classes' => array( 'error' ),
) );

$backup_path $this->filesystem->make_path_relativeget_imagify_backup_dir_pathtrue ) );

if ( 
$this->filesystem->existsget_imagify_backup_dir_path() ) ) {
    
/* translators: %s is a file path. */
    
$message __'The backup folder %s is not writable by the server, original images cannot be saved!''imagify' );
} else {
    
/* translators: %s is a file path. */
    
$message __'The backup folder %s cannot be created. Is its parent directory writable by the server? Original images cannot be saved!''imagify' );
}

echo 
'<p>' sprintf$message"<code>$backup_path</code>" ) . '</p>';

$this->print_template'notice-footer' );
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586