소스 검색

set WP Memory Limit

dev
Alej 1 년 전
부모
커밋
3d766a5bdd
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 5
    3
      configs/wp-config.php

+ 5
- 3
configs/wp-config.php 파일 보기

82
         $_SERVER['HTTPS'] = 'on';
82
         $_SERVER['HTTPS'] = 'on';
83
 }
83
 }
84
 
84
 
85
-/* That's all, stop editing! Happy blogging. */
85
+/** Limit revisions */
86
+define('WP_POST_REVISIONS', 2);
87
+
88
+define( 'WP_MEMORY_LIMIT', '256M' );
89
+/* That's all, stop editing! Happy publishing. */
86
 
90
 
87
 /** Absolute path to the WordPress directory. */
91
 /** Absolute path to the WordPress directory. */
88
 if ( !defined('ABSPATH') )
92
 if ( !defined('ABSPATH') )
100
         $_SERVER['HTTPS'] = 'off';
104
         $_SERVER['HTTPS'] = 'off';
101
 }
105
 }
102
 
106
 
103
-/** Limit reivisions */
104
-define('WP_POST_REVISIONS', 2);

Loading…
취소
저장