This patch should make smarty3 PHP 7.0 compliant.
diff --git a/debian/README.Debian b/debian/README.Debian
index 78893ff..5d392cf 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -2,8 +2,8 @@ smarty3 for Debian
------------------
In order to use Smarty 3 from your php scripts, you'll have to add
-/usr/share/php/smarty3 on the include_path of php5, that is in the
-file /etc/php5/{apache,apache2}/php.ini or use
+/usr/share/php/smarty3 on the include_path of php, that is in the
+file /etc/php/{apache,apache2}/php.ini or use
require("smarty3/Smarty.class.php");
On smarty update, please note you will have to clear out all smarty
diff --git a/debian/control b/debian/control
index bf94986..84c4b5b 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,7 @@ Homepage: http://www.smarty.net/
Package: smarty3
Architecture: all
Depends:
- php5 | php5-cgi | php5-cli,
+ php | php-cgi | php-cli,
${misc:Depends}
Provides:
smarty
Wolfgang
Attachment:
signature.asc
Description: Digital signature